Difference between revisions of "Template:NifSE NiStencilProperty Stencil Functions"

no edit summary
imported>DragoonWraith
(New page: <noinclude>List of the texture slots used by <tt>NiStencilProperty</tt> blocks. Used by NifSE. </noinclude>== Stencil Functions...)
 
imported>DragoonWraith
Line 3: Line 3:
</noinclude>== Stencil Functions ==
</noinclude>== 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 <tt>NiStencilProperty</tt>'s [[NiStencilPropertyGetStencilThreshold|Stencil threshold]] before painting it.
* <tt>NEVER = 0</tt>
* <tt>NEVER = 0</tt>
* <tt>LESS = 1</tt>
* <tt>LESS = 1</tt>