OpenGL Motion blur with the accumulation buffer

Posted by Klaus on Stack Overflow See other posts from Stack Overflow or by Klaus
Published on 2010-05-29T21:16:54Z Indexed on 2010/05/29 21:22 UTC
Read the original article Hit count: 375

Filed under:
|
|

Hello,

I'm trying to achieve a motion blur effect in my OpenGL application.

I read somewhere this solution, using the accumulation buffer:

glAccum(GL_MULT, 0.90);
glAccum(GL_ACCUM, 0.10);
glAccum(GL_RETURN, 1.0);

glFlush();

at the end of the render loop.

But nothing happens... What I am missing ?

© Stack Overflow or respective owner

Related posts about c++

Related posts about opengl