Difference between revisions of "Stencil Test"

From OpenGL.org
Jump to: navigation, search
m (formatting.)
(Pipeline page link.)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
The '''Stencil Test''' is a per-sample operation performed after the [[Fragment Shader]]. The fragment's [[Stencil Mask]] is tested against the value in the current stencil buffer; if the test fails, the fragment is culled.
+
{{pipeline float}}
 +
The '''Stencil Test''' is a per-sample operation performed after the [[Fragment Shader]]. The fragment's stencil value is tested against the value in the current stencil buffer; if the test fails, the fragment is culled.
  
 
{{stub}}
 
{{stub}}
  
 
[[Category:Sample Writing]]
 
[[Category:Sample Writing]]

Revision as of 04:48, 4 October 2012

The Stencil Test is a per-sample operation performed after the Fragment Shader. The fragment's stencil value is tested against the value in the current stencil buffer; if the test fails, the fragment is culled.