benilla-re systems structs docs

s_oneOver6144

global · lighting

Address
0x80ffa4 · 4 bytes, up to 0x80ffa7
Type
const float
Meaning
Holds 1/6144
Confidence
verified, proof one
Finding
lighting/precipitation#rain-rates

Finding: Rain rates in lighting: precipitation

With x the grade the effect receives, rain emits K·P·x drops a second, P = 35000 with shaders and 6500 without, K the density setting, and closes a packet at a fill time of f32(P·(1/6144)) seconds, about 5.70 s or 1.06 s. Its mist emits 2·max(x − 0.5, 0)·K·Q puffs a second, Q = 38 with shaders and 18 without, so the mist starts only above x = 0.5.

The derivation is in the doc.