# NIF File Format Documentation

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

## BSEffectShaderProperty

Skyrim non-PP shader model, used primarily for transparency effects, often as decal.

### 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 BSEffectShaderProperty
Shader Flags 1 | SkyrimShaderPropertyFlags1 |  |  |  |  | Unknown. |  |
Shader Flags 2 | SkyrimShaderPropertyFlags2 |  |  |  |  | Unknown. |  |
UV Offset | TexCoord |  |  |  |  | Offset UVs |  |
UV Scale | TexCoord |  |  |  |  | Offset UV Scale to repeat tiling textures |  |
Source Texture | SizedString |  |  |  |  | points to an external texture. |  |
Texture Clamp Mode | uint |  |  |  |  | How to handle texture borders. |  |
Falloff Start Angle | float |  |  |  |  | At this cosine of angle falloff will be equal to Falloff Start Opacity |  |
Falloff Stop Angle | float |  |  |  |  | At this cosine of angle falloff will be equal to Falloff Stop Opacity |  |
Falloff Start Opacity | float |  |  |  |  | Alpha falloff multiplier at start angle |  |
Falloff Stop Opacity | float |  |  |  |  | Alpha falloff multiplier at end angle |  |
Emissive Color | Color4 |  |  |  |  | Emissive color |  |
Emissive Multiple | float |  |  |  |  | Multiplier for Emissive Color (RGB part) |  |
Soft Falloff Depth | float |  |  |  |  | Unknown. |  |
Greyscale Texture | SizedString |  |  |  |  | Points to an external texture, used as palette for SLSF1_Greyscale_To_PaletteColor/SLSF1_Greyscale_To_PaletteAlpha. |  |

### Parent Of