I'm thinking of chucking motion blur into my 2D program, but I doubt the results of my current algorithm.
My approach looks like this at the moment:
- Draw to backbuffer.
- When time to update front buffer, blend the backbuffer onto the front buffer.
- Repeat
What would cause the "motion blur" effect is obviously the blending, as objects in motion will leave a fading trail.
This is clearly not very demanding on the hardware, the double buffering will be done anyway and the only extra step is the alpha blending, which is a simple calculation. However, the trails will be very sharp, and not blurry at all which may looks a bit strange. I could do a box blur on the back buffer before the blending step, but it feels like it could be very taxing on low-end systems like the Nintendo DS.
Are there any solutions that let me do it more efficiently or yield a better looking result?