We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9d63bf commit df83a0eCopy full SHA for df83a0e
plugins/csp-sharad/src/Sharad.cpp
@@ -301,7 +301,7 @@ bool Sharad::Do() {
301
mShader.SetUniform(mUniforms.time, static_cast<float>(mCurrTime - mStartTime));
302
303
mTexture->Bind(GL_TEXTURE0);
304
- auto depthBuffer = mGraphicsEngine->getCurrentDepthBufferAsTexture(false);
+ auto depthBuffer = mGraphicsEngine->getCurrentDepthBufferAsTexture(true);
305
depthBuffer->Bind(GL_TEXTURE1);
306
307
glPushAttrib(GL_ENABLE_BIT | GL_DEPTH_BUFFER_BIT);
0 commit comments