[Tutorial] Making a motion blur >> NO SHADERS USED

Posted By: ExtraCortex

[Tutorial] Making a motion blur >> NO SHADERS USED - 05/08/07 10:32

Use this code:


view second_camera
{
pos_x = 0;
pos_y = 0;
alpha = 40;// Rode com este valor
flags = transparent, visible;
}


//Here is when the game begins
starter camera_blur()
{
camera.transparent = on;
camera.alpha = 30;// Rode com este valor
second_camera.size_x = screen_size.x;
second_camera.size_y = screen_size.y;
while (1)
{
wait (2);
second_camera.x = camera.x;
second_camera.y = camera.y;
second_camera.z = camera.z;
second_camera.pan = camera.pan;
second_camera.tilt = camera.tilt;
second_camera.roll = camera.roll;
}
}
Posted By: tompo

Re: [Tutorial] Making a motion blur >> NO SHADERS - 05/08/07 11:48

yeah... you can use even 4 cameras... but don't forgett about framerate in this case... becouse everything must be rendered twice.
But nice idea
Posted By: xXxGuitar511

Re: [Tutorial] Making a motion blur >> NO SHADERS - 05/08/07 14:36

This will also make all models transparent though.

This works, but not so good...
Posted By: broozar

Re: [Tutorial] Making a motion blur >> NO SHADERS - 05/08/07 20:42

and no particles will be displayed at all. bad idea.
© 2023 lite-C Forums