Yo looking good, here's a cheap motion blur using the accum buffer in opengl:
Place this code after things you want blurred and before anything you don't want blurred (text for example): //TRAIL float trail = 16.0; glAccum(GL_MULT, trail/32); glAccum(GL_ACCUM, 1 - (trail/32)); glAccum(GL_RETURN, 1);
I set it up so you can set your trail from 0-32, it kinda works exponentially, so a really trailly effect is 28/32 or something.
Yo looking good, here's a cheap motion blur using the accum buffer in opengl:
Place this code after things you want blurred and before anything you don't want blurred (text for example): //TRAIL float trail = 16.0; glAccum(GL_MULT, trail/32); glAccum(GL_ACCUM, 1 - (trail/32)); glAccum(GL_RETURN, 1);
I set it up so you can set your trail from 0-32, it kinda works exponentially, so a really trailly effect is 28/32 or something.
mattdlockyer 1 year ago