s_unitDrawDistTable
global · unassigned
- Address
0x865664· 32 bytes, up to0x865683- Type
float[8]- Meaning
- Holds the unitDrawDist value of each distance 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.
| block | row column | table and index | setting |
|---|---|---|---|
+0x1c | +0x2c | nonzero | pixelShaders and specular |
+0x20 | +0x30 | 0x865634 at 2 · column + bias 2 | waterLOD |
+0x24 | +0x34 | 0x865644 at 2 · column + bias 3 | particleDensity |
+0x28 | +0x38 | 0x865664 at 2 · column + bias 5 | unitDrawDist |
+0x2c | +0x3c | 0x865684 at 2 · column + bias 4 | SmallCull |
+0x30 | +0x3c | 0x8656a4 at 2 · column + bias 4 | DistCull |
+0x34 | +0x40 | 0xc518e0 plus 0x38 times the column | the device format record |
+0x38 | +0x44 | the column | baseMip |
The derivation is in the doc.