Depth Test: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
stub for depth test.
 
Pipeline page link.
Line 1: Line 1:
{{pipeline float}}
The '''Depth Test''' is a per-sample operation performed [[Early Depth Test|conceptually]] after the [[Fragment Shader]]. The output depth is tested against the [[Depth Buffer|depth of the sample being written to]]. If the test fails, the fragment is discarded.
The '''Depth Test''' is a per-sample operation performed [[Early Depth Test|conceptually]] after the [[Fragment Shader]]. The output depth is tested against the [[Depth Buffer|depth of the sample being written to]]. If the test fails, the fragment is discarded.



Revision as of 08:48, 4 October 2012

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.