s_transSpecularProgram
global · terrain
- Address
0xca8010· 4 bytes, up to0xca8013- Type
void *- Meaning
- Holds the MapObjTransSpecular pixel program
- Confidence
- verified, proof one
- Finding
- terrain/groupdraw#interior-group-batches
Finding: Interior group batches in terrain: map object draw
0x6b5190(group, again) draws all of an interior group's batches (+0x13c) in three kinds by
position: the first +0x3c are transparent, the next +0x3e interior, the rest exterior.
Transparent batches draw twice, lit with blend 9 and unlit with blend 7. Interior batches draw unlit
with the material blend and a pixel program by shader. Exterior batches draw lit with the material
blend and no program. The interior fog colours replace the scene's when the group fog flag is set,
and a window material (flag 0x20) lights with the window colours.
The derivation is in the doc.