BuildGroupDepthRamp
function · terrain · primitive
- Address
0x6b6b60· 112 bytes, up to0x6b6bcf- Signature
void __cdecl (void)- Meaning
- Fills the 256-entry depth to alpha ramp of group liquids from the light state
- Confidence
- verified, proof one
- Finding
- terrain/groupdraw#group-liquid-ramp
- Test
terrain::mliq_depth_alpha_lut_difftest
Finding: Group liquid ramp in terrain: map object draw
0x6b6b60 fills 0xca7f10 with 256 bytes: the alpha of a liquid vertex by depth byte, a linear ramp from
the byte of the light state's +0x114 to that of +0x118.
The derivation is in the doc.
Callers 1
- DrawGroupLiquidPass terrain
Callees 1
- GetLightState lighting
Calls and jumps by a bare address, from tables/calls.tsv.