benilla-re systems structs docs

s_lowDetailIndexBuffer

global · terrain

Address
0xc9a318 · 4 bytes, up to 0xc9a31b
Type
void *
Meaning
Holds the index buffer every low-detail tile shares
Confidence
verified, proof one
Finding
terrain/lod#low-detail-tile-draw

Finding: Low-detail tile draw in terrain: lod

0x6bd780 draws a tile with culling and lighting off, the fog start 0, the fog end 1.0 and the fog colour from the light state's +0x70, depth test mode 3, and a 545-vertex buffer it fills once through 0x6bd8c0. It draws 3072 indices (16 by 16 quads of four triangles) as a triangle list with the highest vertex 0x220. With culling off the tile shows from below (render#face-culling).

The derivation is in the doc.