From 1292560f26dea2383f6e4264bfbf50ec93acece4 Mon Sep 17 00:00:00 2001 From: micuat Date: Sun, 18 Oct 2020 18:12:13 +0200 Subject: [PATCH] not working together --- zoneb/src/ofApp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();