# NIF File Format Documentation

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

## BSLightingShaderProperty

Skyrim PP shader for assigning material/shader/texture.

### Attributes

Name | Type | Arg | Arr1 | Arr2 | Cond | Description | From | To
--- | --- | --- | --- | --- | --- | --- | --- | ---
From NiObject
From NiObjectNET
Skyrim Shader Type | BSLightingShaderPropertyShaderType |  |  |  | IsDerivedType(BSLightingShaderProperty::TYPE) | Configures the main shader path |  |
Name | string |  |  |  |  | Name of this controllable object, used to refer to the object in .kf files. |  |
Has Old Extra Data | bool |  |  |  |  | Extra data for pre-3.0 versions. |  | 2.3
Old Extra Prop Name | string |  |  |  | hasOldExtraData | (=NiStringExtraData) |  | 2.3
Old Extra Internal Id | uint |  |  |  | hasOldExtraData | ref |  | 2.3
Old Extra String | string |  |  |  | hasOldExtraData | Extra string data. |  | 2.3
Unknown Byte | byte |  |  |  |  | Always 0. |  | 2.3
Extra Data | Ref<NiExtraData> |  |  |  |  | Extra data object index. (The first in a chain) | 3.0 | 4.2.2.0
Num Extra Data List | uint |  |  |  |  | The number of Extra Data objects referenced through the list. | 10.0.1.0 |
Extra Data List | Ref<NiExtraData> |  | Num Extra Data List |  |  | List of extra data indices. | 10.0.1.0 |
Controller | Ref<NiTimeController> |  |  |  |  | Controller object index. (The first in a chain) | 3.0 |
From NiProperty
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. |  |
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 |  |
Texture Clamp Mode | TexClampMode |  |  |  |  | How to handle texture borders. |  |
Alpha | float |  |  |  |  | The materials opacity (1=non-transparent). |  |
Unknown Float 2 | float |  |  |  |  | Unknown |  |
Glossiness | float |  |  |  |  | The material's specular power, or glossiness (0-999). |  |
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? |  |
Environment Map Scale | float |  |  |  | skyrimShaderType == 1 | Scales the intensity of the environment/cube map. (0-1) |  |
Skin Tint Color | Color3 |  |  |  | skyrimShaderType == 5 | Tints the base texture. Overridden by game settings. |  |
Hair Tint Color | Color3 |  |  |  | skyrimShaderType == 6 | Tints the base texture. Overridden by game settings. |  |
Max Passes | float |  |  |  | skyrimShaderType == 7 | Max Passes |  |
Scale | float |  |  |  | skyrimShaderType == 7 | Scale |  |
Parallax Inner Layer Thickness | float |  |  |  | skyrimShaderType == 11 | How far from the surface the inner layer appears to be. |  |
Parallax Refraction Scale | float |  |  |  | skyrimShaderType == 11 | Depth of inner parallax layer effect. |  |
Parallax Inner Layer Texture Scale | TexCoord |  |  |  | skyrimShaderType == 11 | Scales the inner parallax layer texture. |  |
Parallax Envmap Strength | float |  |  |  | skyrimShaderType == 11 | How strong the environment/cube map is. (0-??) |  |
Sparkle Parameters | Vector4 |  |  |  | skyrimShaderType == 14 | Unknown/unused? CK lists "snow material" when used. |  |
Eye Cubemap Scale | float |  |  |  | skyrimShaderType == 16 | Eye cubemap scale |  |
Left Eye Reflection Center | Vector3 |  |  |  | skyrimShaderType == 16 | Offset to set center for left eye cubemap |  |
Right Eye Reflection Center | Vector3 |  |  |  | skyrimShaderType == 16 | Offset to set center for right eye cubemap |  |

### Parent Of