Rain::Rain
function · lighting · primitive
- Address
0x674620· 526 bytes, up to0x67482d- Signature
void * __thiscall (Rain *this, float width, float height)- Meaning
- Builds the rain effect: its box, mist, packet lists, rate and the rain and patter shaders
- Confidence
- verified, proof one
- Finding
- lighting/precipitation#effect-objects
- Test
lighting::weather_effect_ctor_674620_difftest
Finding: Effect objects in lighting: precipitation
An effect starts with two bytes, uses-shaders and stopping, then its box as minimum and maximum
corners, its mist at +0x1c, and its packet lists. The shader byte is set, then cleared when a
vertex shader fails to load or a needed device capability is missing, or when useWeatherShaders
is 0. Rain's box is 130 × 130 × 75 and it loads rain.bls and patter.bls; snow's is
90 × 90 × 60 with snowpoint.bls; sand's 40 × 40 × 25 with sand.bls.
The derivation is in the doc.
Callers 1
- UpdateWeather lighting
Callees 13
- SplatVector3 loadingscreen
- CStatus::~CStatus client
- TextureCreate gx
- InitList4ef7a0 ui
- CGxTexFlags::CGxTexFlags gx
- 0x58b2b0 gx
- GxShaderIsLoaded gx
- Rain::SetIntensity lighting
- Mists::Mists lighting
- 0x67dac0 lighting
- 0x67dc20 lighting
- 0x67e160 lighting
- 0x67e170 lighting
Calls and jumps by a bare address, from tables/calls.tsv.