Difference between revisions of "Depth Test"

From OpenGL.org
Jump to: navigation, 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 04: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.