s_deviceViewProjection
global · terrain
- Address
0xcbe070· 64 bytes, up to0xcbe0af- Type
float[16]- Meaning
- Holds the device matrix the portal flood reads, the view and projection
- Confidence
- verified, proof one
- Finding
- terrain/portals#interior-seed
Finding: Interior seed in terrain: map object visibility
0x6b3b20 floods from the groups the camera is in. It advances the pass number 0xca8014 and
sets the inside flag 0xcde5ac, the group fog flag 0xca7f00 and clears the window count. The
object-to-clip matrix 0xcbe2d8 is slot 8 times the device matrix. It walks from each start group
over the whole screen, (−1, −1, 1, 1), at depth 0. Then each recorded window is walked again from
every exterior group inside it, and last the callback runs for each group with flag 0x10000 whose
box the current volume shows.
The derivation is in the doc.