benilla-re systems structs docs

s_glowWavePeriodA

global · ffxeffects

Address
0xce89c4 · 4 bytes, up to 0xce89c7
Type
int32_t
Meaning
Holds 3174, the period in milliseconds of the first wave map scroll
Confidence
verified, proof one
Finding
ffxeffects/passes#glow-wave-pass

Finding: Glow wave pass in ffxeffects: the passes

The GlowWave pass (0x6cb310, ctor 0x6cb1f0) is the Glow pass under water with a displacement map as a third source. Its quad has three UV sets: the wave map's, transformed by R(10°, Z) · S(W/128, 0.88·H/128) · T(p1, p2) in row-vector order, the scene's and the blur's. p1 and p2 are the clock t in milliseconds mod 3174 and mod 2805, each over its modulus. The colour is Glow's without the 0x467d00 gate: the floor of 84 applies whenever the liquid state 0x672470(0) is not 0xf, where Glow needs a player.

The derivation is in the doc.