s_point35
global · unassigned
- Address
0x7ffd70· 4 bytes, up to0x7ffd73- Type
const float- Meaning
- Holds 0.35
- Confidence
- verified, proof one
- Finding
- lighting/fog#world-light-commit
Finding: World light commit in lighting: fog and the world light
After the fog update 0x66ff60 dims ambient and diffuse by the sun glare and writes the world's
device light record: its direction is the sun direction and its three colours (models/lights#light-object)
are ambient, diffuse and colour band 9, each channel times 1/255. The dim is a = the byte of
f32((1 − f)·255 + 512) >> 14 with f = 0.35·g, g the sun glare's look factor
(celestial#glare-update); each channel becomes (c·a + 0xff) >> 8, so f = 0 is the identity.
On the full-recompute path f is 0.
The derivation is in the doc.