Original Post
Hey guys, im trying to do a simple motion blurring effect on a moving/spinning square. Here is an excerpt of the code: However, no matter what the decay factor is (even 0) it resembles 1.0! I mean, this is basically all the code for the motion blurring of this one little box. And because you guys like pictures:
glClear(...); // clear color, depth, and accum buffer
for(int i = 0; i < AMT; i++)
{
box->move(0, 0 ,amt);
box->angle += 3;
box->draw();
glAccum(GL_MULT, 0.5); // 0.5 is the decay factor
}
glAccum(GL_RETURN, 1.0);
// flip screen