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

BSLightingShaderProperty

Bethesda shader property for Skyrim and later.

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 NiShadeProperty
Flags Flags Bit 0: Enable smooth phong shading on this shape. Otherwise, hard-edged flat shading will be used on this shape.
From BSShaderProperty
Shader Type BSShaderType
Shader Flags BSShaderFlags
Shader Flags 2 BSShaderFlags2
Environment Map Scale float Scales the intensity of the environment/cube map.
From BSLightingShaderProperty
Shader Flags 1 SkyrimShaderPropertyFlags1 Skyrim Shader Flags for setting render/shader options.
Shader Flags 2 SkyrimShaderPropertyFlags2 Skyrim Shader Flags for setting render/shader options.
Shader Flags 1 Fallout4ShaderPropertyFlags1 Fallout 4 Shader Flags. Mostly overridden if "Name" is a path to a BGSM/BGEM file.
Shader Flags 2 Fallout4ShaderPropertyFlags2 Fallout 4 Shader Flags. Mostly overridden if "Name" is a path to a BGSM/BGEM file.
UV Offset TexCoord Offset UVs
UV Scale TexCoord Offset UV Scale to repeat tiling textures, see above.
Texture Set Ref<BSShaderTextureSet> Texture Set, can have override in an esm/esp
Emissive Color Color3 Glow color and alpha
Emissive Multiple float Multiplied emissive colors
Wet Material string
Texture Clamp Mode TexClampMode How to handle texture borders.
Alpha float The material opacity (1=non-transparent).
Refraction Strength float The amount of distortion. **Not based on physically accurate refractive index** (0=none) (0-1)
Glossiness float The material specular power, or glossiness (0-999).
Smoothness float The base roughness (0.0-1.0), multiplied by the smoothness map.
Specular Color Color3 Adds a colored highlight.
Specular Strength float Brightness of specular highlight. (0=not visible) (0-999)
Lighting Effect 1 float Controls strength for envmap/backlight/rim/softlight lighting effect?
Lighting Effect 2 float Controls strength for envmap/backlight/rim/softlight lighting effect?
Subsurface Rolloff float
Rimlight Power float
Backlight Power float
Grayscale to Palette Scale float
Fresnel Power float
Wetness Spec Scale float
Wetness Spec Power float
Wetness Min Var float
Wetness Env Map Scale float
Wetness Fresnel Power float
Wetness Metalness float
Environment Map Scale float Scales the intensity of the environment/cube map. (0-1)
Unknown Env Map Short ushort Unknown.
Skin Tint Color Color3 Tints the base texture. Overridden by game settings.
Unknown Skin Tint Int uint Unknown.
Hair Tint Color Color3 Tints the base texture. Overridden by game settings.
Max Passes float Max Passes
Scale float Scale
Parallax Inner Layer Thickness float How far from the surface the inner layer appears to be.
Parallax Refraction Scale float Depth of inner parallax layer effect.
Parallax Inner Layer Texture Scale TexCoord Scales the inner parallax layer texture.
Parallax Envmap Strength float How strong the environment/cube map is. (0-??)
Sparkle Parameters Vector4 CK lists "snow material" when used.
Eye Cubemap Scale float Eye cubemap scale
Left Eye Reflection Center Vector3 Offset to set center for left eye cubemap
Right Eye Reflection Center Vector3 Offset to set center for right eye cubemap

Parent Of