ScaleFogDistance
function · lighting · primitive
- Address
0x6d6090· 41 bytes, up to0x6d60b8- Meaning
- Divides a fog distance band's values by 36 at load
- Confidence
- verified, proof one
- Finding
- lighting/tables#fog-distances-at-load
- Test
lighting::dn_array_scale_36_difftest
Finding: Fog distances at load in lighting: tables
At load the client multiplies every key value of every sixth LightFloatBand record, counted by position in the file from 0, by f32(1/36) (0x3ce38e39): the records of scalar 0, the fog end, when the file holds the bands of each LightParams group in id order with no gap. A record with no keys is untouched.
The derivation is in the doc.
Callers 1
- ScaleFogDistances lighting
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.