Motion Blur |
25 March 2002 |
|
Description : |
Here is a simple
project that shows you how to do motion blur without using the accumulation
buffer. The accumulation buffer is the proper way of doing it, but commercial
cards have no hardware support for the accumulation buffer and you end up with
1-2fps on a GeForce card.
This motion blur is done using glCopyToTexImage like the previous two examples.
What I do here is to render the scene to a texture and draw that texture behind
the new scene, but making it slightly darker, so after about 10 frames there is
no sign of it.
Keys : UP and DOWN arrow to change the amount of blur.
|
Download : |
34
KB (EXE and Source) |
|