Hello
I am trying to create a “blur” effect in my opengl game, whereby in certain sections I enable the following code and the vision blurs for a bit…
if(world->blur){
glAccum(GL_MULT, 0.85);
glAccum(GL_ACCUM, 1- 0.85);
glAccum(GL_RETURN, 1.0);
glFlush();
}
Which works fine when I am using my laptop’s integrated chip, which often results in lower framerate, but if I enable the ATI gpu which gives me faster performance then the effect is not visible…
I am using a fixed-time clock on my game:
tickTime += dt;
if(tickTime >= 1/DESIRED_FRAME_RATE){
level->update(tickTime);
world->update(tickTime);
renderer->drawScene(tickTime);
tickTime = 0;
}
Is there some obvious reason why this happens?
Thanks a lot for any help