benilla-re systems structs docs

s_lodDistTable

global · unassigned

Address
0x865610 · 16 bytes, up to 0x86561f
Type
float[4]
Meaning
Holds the lodDist value of each lodDist column of a hardware row
Confidence
verified, proof one
Finding
console/hardware#quality-block

Finding: Quality block in console: hardware

0x641820 fills a block of 0x41 bytes at 0xc4e678 from the matched row and the bias row. Each value reads a column of the row; the columns with a table add twice the column value to a bias word of the bias row and index the table. The bias words are 0 for a slow processor and 1 for a fast one (the two rows at 0x8655d8).

blockrow columntable and indexsetting
+0x00+0x0c0x8656c4 at 2 · column + bias 0farclip
+0x04+0x100x865610 at the columnlodDist
+0x08+0x14the columnshadowLevel
+0x0c+0x180x865620 at the columnfrillDensity
+0x10+0x1cthe columnfullAlpha
+0x14+0x200x865630 at 2 · column + bias 1doodadAnim
+0x15+0x24nonzerotrilinear
+0x18+0x28the columnMaxLights

The derivation is in the doc.