simple motion blur filter?

Posted By: gameplan

simple motion blur filter? - 10/09/12 13:56

Hi,

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.
Posted By: rayp

Re: simple motion blur filter? - 10/09/12 14:49

Maybe this is what you looking 4:

Code:
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
Posted By: gameplan

Re: simple motion blur filter? - 10/09/12 19:55

Thank you. I think this is what I was searching for. But I noticed that I am unable to use it at this moment with gamestudio A8 free.
Posted By: sivan

Re: simple motion blur filter? - 10/10/12 10:07

no shaders in free, so you can't use effects... you need Commercial at least.
Posted By: 3run

Re: simple motion blur filter? - 10/10/12 12:24

search AUM for fake motion blur effect
Posted By: sivan

Re: simple motion blur filter? - 10/10/12 12:29

yes maybe there is one. last time I found out a fake hdr effect laugh but not implemented yet.
© 2024 lite-C Forums