====== 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. | | | persedDepthOffset | ''f32'' | ''0x20'' | The z-offset for the shadow map. Negative values reduce the amount of self-shadowing that occurs. | | | gradFactor | ''f32'' | ''0x24'' | Adjusts the perspective of the shadow map. Negative values reduce the perspective, vice versa. | | | shadowVolumeDepth | ''f32'' | ''0x28'' | The depth of the shadow volume for this shadow map. Increase value for large objects. | |