Blog86.1K views1,719 votes0 replies1,038 following
Ping-Pong FBOs: Avoiding Read-Write Hazards in OpenGL Post-Processing
When multi-pass effects fail due to read-write hazards, the ping-pong pattern using two FBOs solves the problem by ensuring data is read from a completed state before being written to a new state.