s_box4Taps
global · ffxeffects
- Address
0xce89cc· 32 bytes, up to0xce89eb- Type
float[8]- Meaning
- Holds the four Box4 tap offsets in source texels, written on the first draw
- 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.