Depth Testing
Each fragment's depth is compared against the depth buffer with a configurable function (typically LESS); failing fragments are discarded, which resolves hidden surfaces regardless of draw order. Depth writes can be disabled independently of the test, which is essential when drawing transparent geometry after opaque geometry.
This Concept is waiting for its first lesson!
Each fragment's depth is compared against the depth buffer with a configurable function (typically LESS); failing fragments are discarded, which resolves hidden surfaces regardless of draw order. Depth writes can be disabled independently of the test, which is essential when drawing transparent geometry after opaque geometry.
Are you a teacher? Sign in to start contributing.
Sign In