diff --git a/zoneb/src/ofApp.cpp b/zoneb/src/ofApp.cpp index cfdfc7b..bf08d9b 100644 --- a/zoneb/src/ofApp.cpp +++ b/zoneb/src/ofApp.cpp @@ -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();