Sign in to follow this  
BloodLust666

FBO depth test failing

Recommended Posts

BloodLust666    104
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
BloodLust666    104
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

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