does anyone know how to add a simple motion blur effect? When the camera moves very quickly in my game, it looks stagnantly/crappy, even if I have more than 60 fps.
function post_motionblur(on)
{
if(on == 1)
{
pp_set(camera,mtl_blur);
while(1)
{
mtl_blur.skill1 = floatv(mouse_force.x*25+mouse_force.y*25);
wait(1);
}
}
else
{
proc_kill(4);
pp_set(camera,NULL);
}
}
[...]
post_motionblur(1); //turn the effect on
[...]
post_motionblur(0); //turn it off
Posted by Alibaba and optimized by Rondidon 4 3d fps
greets
Acknex umgibt uns...zwischen Dir, mir, dem Stein dort... "Hey Griswold ... where u gonna put a tree that big ?" 1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected rayp.flags |= UNTOUCHABLE;