benilla-re systems structs docs

s_shadowBiasScale

global · lighting

Address
0x811694 · 4 bytes, up to 0x811697
Type
const float
Meaning
Holds 2^-15, the scale of the shadow depth bias
Confidence
verified, proof one
Finding
lighting/shadows#shadow-settings

Finding: Shadow settings in lighting: shadows

shadowLOD, 0 or 1 and 1 by default, turns the blob shadow on at 1; setting it to 1 also refills the two ramp textures. shadowBias, 0 to 1 and 0.1 by default, is the depth bias a decal draws with, at 2·bias/32768; at 0 the decal sets no bias. Values outside the range are refused with a console message.

The derivation is in the doc.