Sign in to follow this  
ari556655

depth buffer woes

Recommended Posts

I'm basically just trying to draw quads(using glortho) top to bottom using the depth buffer, but I'm having an impossible time getting it to work, and reading docs have helped very little. Assuming I'm drawing top to bottom, what znear and zfar should I pass to glortho? And also, what should I pass glcleardepth and gldepthfunc?

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