Site Tools


des-refmat:param:shadowbank

ShadowBank

Fields

Field Type Offset Description Notes
lightDegRotX s16 0x0 The horizontal angle of the light source affecting this shadow map. In degrees.
lightDegRotY s16 0x2 The vertical angle of the light source affecting this shadow map. In degrees.
densityRatio s16 0x4 The density of the shadow map. 100% is the darkest value.
colR s16 0x6 The red component of the coloring for the shadow map.
colG s16 0x8 The green component of the coloring for the shadow map.
colB s16 0xa The blue component of the coloring for the shadow map.
beginDist f32 0xc The start distance for the shadow map. 0 means the camera's near clip is used. In metres.
endDist f32 0x10 The end distance for the shadow map. In metres.
calibulateFar f32 0x14 The distance to shorten the end distance by when facing the light source direction.
fadeBeginDist f32 0x18 The start distance for fading the shadow map. In metres.
fadeDist f32 0x1c The end distance for fading the shadow map. In metres.
depthOffset f32 0x20 The z-offset for the shadow map.
persedDepthOffset f32 0x24 The z-offset for the shadow map. Negative values reduce the amount of self-shadowing that occurs.
gradFactor f32 0x28 Adjusts the perspective of the shadow map. Negative values reduce the perspective, vice versa.
shadowVolumeDepth f32 0x2c The depth of the shadow volume for this shadow map. Increase value for large objects.
pad_0 dummy8 0x30 This field is padding.
des-refmat/param/shadowbank.txt · Last modified: by admin