Sign in to follow this  

FBO depth test failing

This topic is 2795 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

When rendering to an FBO color buffer, it seems as though my depth test is failing... Polygons that are behind others are being rendering as if they're in front of them which gives weird looking objects. Do I have to respecificy to glEnable(depthtest) and whatnot? I'm already clearing the buffer before rendering to them, color to 0,0,0,0, depth to 1, and stencil to 0. oh and also it renders upside down, is there a way to fix that?

Share this post


Link to post
Share on other sites
Also, when I render that texture onto a quad, the image is completely distorted... Almost like a fish eye, it seems as though the middle is pinched down vertically and the sides are spread out

Share this post


Link to post
Share on other sites

This topic is 2795 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this