motion blur for fun

This commit is contained in:
Eduardo Bart
2012-03-28 14:32:34 -03:00
parent 56d6cc2cc0
commit 8c2a84b6be
4 changed files with 3 additions and 20 deletions

View File

@@ -115,7 +115,7 @@ void Graphics::endRender()
{
// this is a simple blur effect
static Timer timer;
if(timer.ticksElapsed() >= 15) {
if(timer.ticksElapsed() >= 10) {
glAccum(GL_MULT, 0.8);
glAccum(GL_ACCUM, 0.2);
timer.restart();