Render to texture

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.

Sounds like glCopyTexSubImage() is what you want.

glAccum() might be an alternate solution, too.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.