RenderGauss4Pass
function · ffxeffects · primitive
- Address
0x6cad10· 550 bytes, up to0x6caf35- Signature
void __thiscall (void *this)- Meaning
- Blurs the source in two draws, horizontal into 0xce8b04 and vertical into the destination
- Confidence
- verified, proof one
- Finding
- ffxeffects/passes#box-and-gauss-passes
Finding: Box and Gauss passes in ffxeffects: the passes
Box4 (0x6caae0) draws its source into the destination with four taps at (−1.5, −1.5), (0.5, −1.5), (0.5, 0.5) and (−1.5, 0.5) source texels; in the glow effect it takes the full target to
the quarter. Gauss4 (0x6cad10) blurs in two draws: horizontally into 0xce8b04 with taps (−2.5, 0), (−0.5, 0), (0.5, 0), (2.5, 0), then vertically from 0xce8b04 to its destination with the same
four in y. The taps are scaled by the source's 1/alloc (+0x14, +0x18) and added to the quad's
UV offsets, so they are texel counts. Each draw binds the source at stages 0x17 to 0x1a and the
program at 0x3f, and draws the strip.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 11
- 0x589d30 gx
- GxRsSetObject gx
- 0x58a7b0 gx
- GxPrimRenderOne gx
- SetDeviceViewport gx
- SetColor terrain
- BeginPassTarget ffxeffects
- BuildFullScreenQuad ffxeffects
- BuildQuadVertices ffxeffects
- SetStripIndices ffxeffects
- EndPassTarget ffxeffects
Calls and jumps by a bare address, from tables/calls.tsv.