Sign in to follow this  

What is depth testing?

Recommended Posts

hey, I'm working through NeHe tutorial and I was wondering if someone could explain to me what depth testing is all about? like what purpose does it serve etc. i came across these lines that's why i'm asking. I'd be fine to read any good references abt this stuff if you can't explain it simply. Thanx glEnable(GL_DEPTH_TEST); glDepthFunc(GL_LEQUAL);

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