Rain::DrawPatterShader
function · lighting · primitive
- Address
0x6769d0· 1179 bytes, up to0x676e6a- Signature
void __thiscall (Rain *this)- Meaning
- Draws the started patter packets through patter.bls as camera quads
- Confidence
- verified, proof one
- Finding
- lighting/precipitation#rain-draw
- Test
lighting::rain_patter_matrix_difftest
Finding: Rain draw in lighting: precipitation
With shaders each started packet draws its drops as triangles through rain.bls with additive
blend state 5: corners (y, z) of (−0.05, 0), (0.05, 0) and (0, 2), a tail length of 2 when the
player is still and 0 when moving, and a rotation leaning the streaks by up to 45° as the
player's horizontal speed reaches 30, about the axis across the motion. Patters draw as camera
quads through patter.bls, ±1/12 across and 1/6 up, with frames of 0.25 × 0.25 from the splash
texture. Without shaders the processor builds both each frame.
The derivation is in the doc.
Callers 1
- Rain::Render lighting
Callees 19
- GetTextureDeviceObject gx
- GxRsSetWord gx
- GxRsSet gx
- GxRsSetObject gx
- GxRsPush gx
- GxRsPop gx
- GxVertexBufBind gx
- GxPrimRenderOne gx
- 0x58b0a0 gx
- GetDeviceView gx
- 0x58b3c0 gx
- 0x58b3e0 gx
- 0x58b470 gx
- 0x58b490 gx
- 0x58b4b0 gx
- 0x58b4d0 gx
- 0x58b530 gx
- WeatherTicksToSeconds lighting
- MultiplyMatrix4 cmath
Calls and jumps by a bare address, from tables/calls.tsv.