s_combineExtensionOn
global · terrain
- Address
0xc0f2b8· 4 bytes, up to0xc0f2bb- Type
uint32_t- Meaning
- Holds 1 when the combine texture environment extension is available
- Confidence
- verified, proof one
- Finding
- terrain/watershade#stage-combine-presets
Finding: Stage combine presets in terrain: water shading
State id 0x1f plus a stage index selects one of six texture environment presets; the passes use
preset 3, add, for the water sheet. The preset table is six records of 0x2c bytes at 0x85c250.
When the card lacks the combine extension the OpenGL arm sets only the fallback mode in the first
dword, and the alpha of an add then is the product of the two alphas; with it the arm uploads the
whole record and the alpha of preset 3 is the sum.
The derivation is in the doc.