benilla-re systems structs docs

s_groupShininess

global · terrain

Address
0x810994 · 4 bytes, up to 0x810997
Type
float
Meaning
Holds 14.0, the shininess of a specular map object batch
Confidence
verified, proof one
Finding
terrain/groupdraw#exterior-group-batches

Finding: Exterior group batches in terrain: map object draw

0x6b4f10(group, again) draws the first +0x40 batches of an exterior group: each batch that is not marked drawn, not culled, with a loaded texture. Per material it sets lighting on unless flag 0x1, fog on unless flag 0x2, culling on unless flag 0x4, the material colour +0x14 when the flag 0x10 is set and else 0, the blend, and the texture with clamping per flags 0x40 and 0x80. A specular material (shader 1) with the specular program loaded gets the program, a white specular colour and shininess 14.0 for its draw. A zero again clears the drawn marks first.

The derivation is in the doc.