NIF Objects | Compound Types | Enum Types | Basic Types | File Versions

NiAlphaProperty

Transparency. Flags 0x00ED.

Attributes

Name Type Description
From NiObject
From NiObjectNET
Skyrim Shader Type BSLightingShaderPropertyShaderType Configures the main shader path
Name string Name of this controllable object, used to refer to the object in .kf files.
Num Extra Data List uint The number of Extra Data objects referenced through the list.
Extra Data List Ref<NiExtraData> List of extra data indices.
Controller Ref<NiTimeController> Controller object index. (The first in a chain)
From NiProperty
From NiAlphaProperty
Flags Flags Bit 0 : alpha blending enable
Bits 1-4 : source blend mode
Bits 5-8 : destination blend mode
Bit 9 : alpha test enable
Bit 10-12 : alpha test mode
Bit 13 : no sorter flag ( disables triangle sorting )

blend modes (glBlendFunc):
0000 GL_ONE
0001 GL_ZERO
0010 GL_SRC_COLOR
0011 GL_ONE_MINUS_SRC_COLOR
0100 GL_DST_COLOR
0101 GL_ONE_MINUS_DST_COLOR
0110 GL_SRC_ALPHA
0111 GL_ONE_MINUS_SRC_ALPHA
1000 GL_DST_ALPHA
1001 GL_ONE_MINUS_DST_ALPHA
1010 GL_SRC_ALPHA_SATURATE

test modes (glAlphaFunc):
000 GL_ALWAYS
001 GL_LESS
010 GL_EQUAL
011 GL_LEQUAL
100 GL_GREATER
101 GL_NOTEQUAL
110 GL_GEQUAL
111 GL_NEVER
Threshold byte Threshold for alpha testing (see: glAlphaFunc)

Parent Of