PDA

View Full Version : Render to texture



arseue
12-18-2004, 07:59 AM
Hi,

I am tring write the motion blur effect with glsl.

My problem is how to render the whole previous image into texture.
Are there any tutorials or example?

After that, I can blend previous image with the current one, and make the motion blur effect in real time.

Work with ati radeon 9700 pro.
Thank for help.

jwatte
12-18-2004, 10:13 AM
Sounds like glCopyTexSubImage() is what you want.

glAccum() might be an alternate solution, too.