Commit b996d285 authored by Christian Schulte zu Berge's avatar Christian Schulte zu Berge
Browse files

Fixes Issue #125: Missing color texture in DepthDarkening processor resulting in a black image.

parent d281e78e
......@@ -114,6 +114,7 @@ namespace campvis {
_shader->setUniform("_warmColor", p_warmColor.getValue());
}
createAndAttachColorTexture();
createAndAttachDepthTexture();
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
QuadRdr.renderQuad();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment