benilla-re systems structs docs

s_nightTrack2

global · lighting

Address
0xce9a24 · 16 bytes, up to 0xce9a33
Type
float[4]
Meaning
Holds the second night fraction track, two keys
Confidence
verified, proof one
Finding
lighting/daynight#night-fraction

Finding: Night fraction in lighting: day-night

Each build stores two curves of the time of day: +0x1ac is 1 at night and 0 by day, from 1.0 at 21:30 and 06:00 to 0 at 20:30 and 07:00; +0x1b0 rises from 0.25 at 02:00 to 1.0 at 12:00. The map object group fade 0x6b4090 reads the first.

The derivation is in the doc.