benilla-re systems structs docs

s_distCullTable

global · unassigned

Address
0x8656a4 · 32 bytes, up to 0x8656c3
Type
float[8]
Meaning
Holds the DistCull value of each cull column and bias
Confidence
verified, proof one
Finding
console/hardware#quality-block-rest

Finding: Quality block, rest in console: hardware

The rest of the block, with the same indexing. The pixel shader column feeds two settings, and the smallest cull column indexes two tables.

blockrow columntable and indexsetting
+0x1c+0x2cnonzeropixelShaders and specular
+0x20+0x300x865634 at 2 · column + bias 2waterLOD
+0x24+0x340x865644 at 2 · column + bias 3particleDensity
+0x28+0x380x865664 at 2 · column + bias 5unitDrawDist
+0x2c+0x3c0x865684 at 2 · column + bias 4SmallCull
+0x30+0x3c0x8656a4 at 2 · column + bias 4DistCull
+0x34+0x400xc518e0 plus 0x38 times the columnthe device format record
+0x38+0x44the columnbaseMip

The derivation is in the doc.