I've created a bouncing square animation using OpenGL, but I need to use an aliasing approach to add motion blur to it. If anyone has any information or could point me towards some, that would be a major help. Thanks.
It's a bit space-inefficient, but a simple solution could be to have an array of n textures and then, each frame,
1. Set textures[n - 1] as render target.
2. Render scene.
3. Set screen as render target.
4. For each texture in textures, map the texture to a quad and render the quad. You may need to tweak the alpha.
5. Swap buffers.
6. textures[i] = textures[(i + 1) % n].