benilla-re systems structs docs

s_shadowBias

global · lighting

Address
0xcea620 · 4 bytes, up to 0xcea623
Type
float
Meaning
Holds shadowBias from 0 to 1
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.