Antialiasing with the Accumulation Buffer
The Algorithm:
- Clear the accumulation buffer
- Repeat n times:
- Displace sides of frustum
- Render scene into back buffer with jitter
- Add the back buffer to the accumulation buffer by 1/n
- Return the accumulation buffer to the back buffer and swap
Use GL_LOAD in first glAccum to avoid clear