s_frillDensityTable
global · unassigned
- Address
0x865620· 16 bytes, up to0x86562f- Type
uint32_t[4]- Meaning
- Holds the frillDensity value of each frill 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).
| block | row column | table and index | setting |
|---|---|---|---|
+0x00 | +0x0c | 0x8656c4 at 2 · column + bias 0 | farclip |
+0x04 | +0x10 | 0x865610 at the column | lodDist |
+0x08 | +0x14 | the column | shadowLevel |
+0x0c | +0x18 | 0x865620 at the column | frillDensity |
+0x10 | +0x1c | the column | fullAlpha |
+0x14 | +0x20 | 0x865630 at 2 · column + bias 1 | doodadAnim |
+0x15 | +0x24 | nonzero | trilinear |
+0x18 | +0x28 | the column | MaxLights |
The derivation is in the doc.