ScaleFogDistances
function · lighting · primitive
- Address
0x6d6100· 90 bytes, up to0x6d6159- Meaning
- Runs the fog distance conversion over every sixth LightFloatBand record at load
- Confidence
- verified, proof one
- Finding
- lighting/tables#fog-distances-at-load
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
- FinishLightTables lighting
Callees 1
- ScaleFogDistance lighting
Calls and jumps by a bare address, from tables/calls.tsv.