diff --git a/nif.xml b/nif.xml index fcf535d..a86823f 100644 --- a/nif.xml +++ b/nif.xml @@ -1,6 +1,6 @@ - + + + How to handle texture borders. + Unknown. In BSEffectShaderProperty of Skyrim nifs it is most often set to 255 but sometimes to other values. + + + Texture coordinates (u,v). As in OpenGL; image origin is in the lower left corner. First coordinate. @@ -1374,7 +1380,7 @@ Texture description. NiSourceTexture object index. - 0=clamp S clamp T, 1=clamp S wrap T, 2=wrap S clamp T, 3=wrap S wrap T + 0=clamp S clamp T, 1=clamp S wrap T, 2=wrap S clamp T, 3=wrap S wrap T 0=nearest, 1=bilinear, 2=trilinear, 3=..., 4=..., 5=... Texture mode flags; clamp and filter mode stored in upper byte with 0xYZ00 = clamp mode Y, filter mode Z. Unknown, seems to always be 1 @@ -1786,7 +1792,7 @@ Looks like a memory address, so probably a bool. Link to the texture image. - May be texture clamp mode. + May be texture clamp mode. May be texture filter mode. This may be the UV set counting from 1 instead of zero. 0? @@ -4151,7 +4157,7 @@ Model projection matrix. Always identity? Model projection transform. Always (0,0,0)? Texture Filtering mode. - Texture Clamp mode. + Texture Clamp mode. The type of effect that the texture is used for. The method that will be used to generate UV coordinates for the texture effect. @@ -4776,22 +4782,96 @@ + + + Skyrim Shader Property Flags 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skyrim Shader Property Flags 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Bethesda-specific Property node - Unknown. + Unknown. 0: smooth no 1: smooth yes - - Unknown (Set to 0x21 for NoLighting, 0x11 for Water) - Shader Property Flags - Shader Property Flags 2 - Scales the intensity of the environment/cube map. + + Unknown (Set to 0x21 for NoLighting, 0x11 for Water) + Shader Property Flags + Shader Property Flags 2 + Skyrim Shader Flags for setting render/shader options. + Skyrim Shader Flags for setting render/shader options. + Scales the intensity of the environment/cube map. Bethesda-specific property. - How to handle texture borders. + How to handle texture borders. @@ -4927,88 +5007,14 @@ Bethesda-specific node. - - Skyrim Shader Property Flags 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Skyrim Shader Property Flags 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + Skyrim PP shader for assigning material/shader/texture. - Skyrim Shader Flags for setting render/shader options. - Skyrim Shader Flags for setting render/shader options. Offset UVs Offset UV Scale to repeat tiling textures, see above. Texture Set, can have override in an esm/esp Glow color and alpha Multiplied emissive colors - How to handle texture borders. + How to handle texture borders. The material's opacity (1=non-transparent). The amount of distortion. **Not based on physically accurate refractive index** (0=none) (0-1) The material's specular power, or glossiness (0-999). @@ -5031,21 +5037,20 @@ Offset to set center for right eye cubemap - + Skyrim non-PP shader model, used primarily for transparency effects, often as decal. - - Offset UVs Offset UV Scale to repeat tiling textures - points to an external texture. - How to handle texture borders. + points to an external texture. + At this cosine of angle falloff will be equal to Falloff Start Opacity At this cosine of angle falloff will be equal to Falloff Stop Opacity Alpha falloff multiplier at start angle Alpha falloff multiplier at end angle - Emissive color - Multiplier for Emissive Color (RGB part) + Base color (Vertex color multiplier). + Alpha transparency (1.0 = non-transparent). + Base Color multiplier (RGB part). Points to an external texture, used as palette for SLSF1_Greyscale_To_PaletteColor/SLSF1_Greyscale_To_PaletteAlpha. @@ -5062,10 +5067,8 @@ - + Skyrim water shader property, different from "WaterShaderProperty" seen in Fallout. - - Offset UVs. Seems to be unused, but it fits with the other Skyrim shader properties. Offset UV Scale to repeat tiling textures, see above. Defines attributes for the water shader (will use SkyrimWaterShaderFlags) @@ -5073,10 +5076,8 @@ Unknown, flag? - + Skyrim Sky shader block. - - Offset UVs. Seems to be unused, but it fits with the other Skyrim shader properties. Offset UV Scale to repeat tiling textures, see above. points to an external texture.