benilla-re systems structs docs

s_normalScale

global · terrain

Address
0x810c08 · 4 bytes, up to 0x810c0b
Type
float
Meaning
Holds 1/127 (0x3c010204), the scale of an MCNR normal byte
Confidence
verified, proof one
Finding
terrain/chunk#chunk-normals

Finding: Chunk normals in terrain: chunk

CMapChunk::LoadNormals (0x6aff10) reads 145 normals of three signed bytes each, in the vertices' order, and stores each component as the float s·(1/127) at +0x170.

The derivation is in the doc.