Stencil Test

From OpenGL Wiki
Revision as of 17:15, 8 September 2012 by Alfonse (talk | contribs) (formatting.)
Jump to navigation Jump to search

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.