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

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
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>

Revision as of 17:35, 23 January 2011

List of the texture slots used by NiStencilProperty blocks. Used by NifSE.

Stencil Functions

  • NEVER = 0
  • LESS = 1
  • EQUAL = 2
  • LEQUAL = 3
  • GREATER = 4
  • NOT_EQUAL = 5
  • GEQUAL = 6
  • ALWAYS = 7