Difference between revisions of "Template:NifSE NiAlphaProperty Test Functions"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
imported>DragoonWraith
 
Line 1: Line 1:
<noinclude>List of the texture slots used by [[:Category:NifSE (NiAlphaProperty)|<tt>NiAlphaProperty</tt>]] blocks. Used by [[:Category:NifSE|NifSE]].
<noinclude>List of the test functions used by [[:Category:NifSE (NiAlphaProperty)|<tt>NiAlphaProperty</tt>]] blocks. Used by [[:Category:NifSE|NifSE]].


</noinclude>== Test Functions ==
</noinclude>== Test Functions ==

Latest revision as of 17:48, 23 January 2011

List of the test functions used by NiAlphaProperty blocks. Used by NifSE.

Test Functions

The function of each value is equivalent to the OpenGL test function of similar name. These functions compare the alpha value of each pixel against the NiAlphaProperty's test threshold before painting it.

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