benilla-re systems structs docs

s_box4TapsFlags

global · ffxeffects

Address
0xce89ec · 1 bytes, up to 0xce89ec
Type
uint8_t
Meaning
Holds a bit set once the Box4 taps are written
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.