NIF File Format Documentation

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

BSShaderFlags

Shader Property Flags

Choices

Number Name Description
0x00000001 SF_Specular Enables Specularity
0x00000002 SF_Skinned Required For Skinned Meshes
0x00000004 SF_LowDetail Lowddetail (seems to use standard diff/norm/spec shader)
0x00000008 SF_Vertex_Alpha Vertex Alpha
0x00000010 SF_Unknown_1 Unknown
0x00000020 SF_Single_Pass Single Pass
0x00000040 SF_Empty Unknown
0x00000080 SF_Environment_Mapping Environment mapping (uses Envmap Scale)
0x00000100 SF_Alpha_Texture Alpha Texture Requires NiAlphaProperty to Enable
0x00000200 SF_Unknown_2 Unknown
0x00000400 SF_FaceGen FaceGen
0x00000800 SF_Parallax_Shader_Index_15 Parallax
0x00001000 SF_Unknown_3 Unknown/Crash
0x00002000 SF_Non_Projective_Shadows Non-Projective Shadows
0x00004000 SF_Unknown_4 Unknown/Crash
0x00008000 SF_Refraction Refraction (switches on refraction power)
0x00010000 SF_Fire_Refraction Fire Refraction (switches on refraction power/period)
0x00020000 SF_Eye_Environment_Mapping Eye Environment Mapping (does not use envmap light fade or envmap scale)
0x00040000 SF_Hair Hair
0x00080000 SF_Dynamic_Alpha Dynamic Alpha
0x00100000 SF_Localmap_Hide_Secret Localmap Hide Secret
0x00200000 SF_Window_Environment_Mapping Window Environment Mapping
0x00400000 SF_Tree_Billboard Tree Billboard
0x00800000 SF_Shadow_Frustum Shadow Frustum
0x01000000 SF_Multiple_Textures Multiple Textures (base diff/norm become null)
0x02000000 SF_Remappable_Textures usually seen w/texture animation
0x04000000 SF_Decal_Single_Pass Decal
0x08000000 SF_Dynamic_Decal_Single_Pass Dynamic Decal
0x10000000 SF_Parallax_Occulsion Parallax Occlusion
0x20000000 SF_External_Emittance External Emittance
0x40000000 SF_Shadow_Map Shadow Map
0x80000000 SF_ZBuffer_Test ZBuffer Test (1=on)

Storage Type

unsigned int

Found In