benilla-re systems structs docs

s_oneSixteenth

global · terrain

Address
0x802998 · 4 bytes, up to 0x80299b
Type
float
Meaning
Holds 0.0625
Confidence
verified, proof one
Finding
terrain/lod#chunk-mesh-tables

Finding: Chunk mesh tables in terrain: lod

At start-up 0x6aef50 builds the 145-entry texture coordinate tables in the vertices' order: at 0xcac860 an outer vertex (j, i) gets (i, j) and an inner one (i + 0.5, j + 0.5); at 0xcac3c8 the same over 8, in [0, 1]. It then fills, for each of the four levels, remapped copies of both tables and the level's batch descriptor from the static index lists at 0x86b540.

The derivation is in the doc.