Template:NifSE NiStencilProperty Stencil Functions
Revision as of 17:33, 23 January 2011 by imported>DragoonWraith (New page: <noinclude>List of the texture slots used by <tt>NiStencilProperty</tt> blocks. Used by NifSE. </noinclude>== Stencil Functions...)
List of the texture slots used by NiStencilProperty blocks. Used by NifSE.
Stencil Functions
The function of each value is equivalent to the OpenGL Stencil function of similar name. These functions compare the Stencil value of each pixel against the NiStencilProperty's Stencil threshold before painting it.
- NEVER = 0
- LESS = 1
- EQUAL = 2
- LEQUAL = 3
- GREATER = 4
- NOT_EQUAL = 5
- GEQUAL = 6
- ALWAYS = 7