Template:NifSE NiStencilProperty Stencil Functions

From the Oblivion ConstructionSet Wiki
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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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