SkyGradientCallback
function · terrain · orchestration
- Address
0x68c480· 62 bytes, up to0x68c4bd- Signature
void __fastcall (uint32_t arg1, uint32_t arg2, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t *out)- Meaning
- Fills the sky gradient texture's level 1 through FillSkyGradient and returns its pixels
- Confidence
- inferred
- Finding
- terrain/liquidpass#sky-gradient-texture
Finding: Sky gradient texture in terrain: liquid passes
0x68c4c0 also makes the 64-row sky gradient texture 0xc7fbb8, which 0x68c480 fills through
0x68c250 for level 1. The profile is 32 rows mirrored about the middle: row r (0 at the middle)
is the lerp between the five band colours of the light state at +0xb4 over the intervals 0,
0.17, 0.20, 0.23, 0.24, 0.25 of 4 × 32 rows, each channel × 182/256, with the alpha byte the top
byte of the alpha ramp at index 2r.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 1
- FillSkyGradient terrain
Calls and jumps by a bare address, from tables/calls.tsv.