-
Rendering in Framebuffer does not effect while GL_DEPTH_TEST enabled
I am trying to render everything in a frame buffer.
So i made a framebuffer with depth texture and color texture attached as shown here : http://www.opengl.org/wiki/Framebuff..._Depth_texture
But nothing is rendered if GL_DEPTH_TEST is enabled. What am i doing wrong?
-
Advanced Member
Frequent Contributor
Do you clear the depth buffer (attachment) before rendering?
-
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules