Depth Test

From OpenGL.org
Revision as of 13:09, 8 September 2012 by Alfonse (Talk | contribs) (stub for depth test.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Depth Test is a per-sample operation performed conceptually after the Fragment Shader. The output depth is tested against the depth of the sample being written to. If the test fails, the fragment is discarded.