RenderWeatherEffects
function · lighting · orchestration
- Address
0x67c720· 52 bytes, up to0x67c753- Signature
void __thiscall (void *this)- Meaning
- Runs the live effects' update and draw once the driver has run
- Confidence
- verified, proof one
- Finding
- lighting/weather#weather-visibility
Finding: Weather visibility in lighting: weather
Weather draws only when the frame's visibility byte is set. The map object frame clears it; the world sets it when the camera is outside every map object group, and the portal walk sets it on reaching a group whose flags hold 0x148, or 0x40000 with a set byte in its record. Each effect's packet update runs before the test, so drops keep falling unseen indoors; the mist spawns and moves only in its draw, after the test, so it stops while unseen.
The derivation is in the doc.
Callers 1
- CWorld::RenderWeather terrain
Callees 3
- Rain::Render lighting
- Snow::Render lighting
- Sand::Render lighting
Calls and jumps by a bare address, from tables/calls.tsv.