not working together
This commit is contained in:
parent
ab4a1b8d5a
commit
1292560f26
1 changed files with 1 additions and 1 deletions
|
@ -59,6 +59,7 @@ void ofApp::draw()
|
|||
|
||||
if (kinectDevice.isStreaming())
|
||||
{
|
||||
ofDisableDepthTest();
|
||||
auto tex = kinectDevice.getDepthTex();
|
||||
boundShader.setUniformTexture("u_depth", tex);
|
||||
boundShader.setUniform1i("u_init", 1);
|
||||
|
@ -68,7 +69,6 @@ void ofApp::draw()
|
|||
boundShader.render();
|
||||
}
|
||||
boundShader.draw(0, 0);
|
||||
return;
|
||||
|
||||
cam.begin();
|
||||
ofEnableDepthTest();
|
||||
|
|
Loading…
Reference in a new issue