Stencil Test: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
stub for stencil test.
 
m formatting.
Line 1: Line 1:
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.
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.


{{stub}}
{{stub}}


[[Category:Sample Writing]]
[[Category:Sample Writing]]

Revision as of 17:15, 8 September 2012

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.