s_magmaCoordScale
global · terrain
- Address
0x810388· 4 bytes, up to0x81038b- Type
float- Meaning
- Holds 0.01171875, 3/256
- Confidence
- verified, proof one
- Finding
- terrain/liquid#liquid-render-vertices
Finding: Liquid render vertices in terrain: liquid
The liquid's vertex buffer holds 81 vertices of 40 bytes: the position, the normal (0, 0, 1), a first texture coordinate and a second (i·0.25, j·0.25). For the ocean pass the first is (0.5, B[d]) and for the river pass (0.5, A[d]), d being the MCLQ vertex's first byte; for the magma pass it is the vertex's first two words times 3/256.
The derivation is in the doc.