I implemented it for the turbo boosts in my game, or a variation of it. I must say - very good job Ello! While the frame rate did slow down a bit I am using the non-shader version of it. The shader versions look VERY NICE but the frame rate was alot slower. Perhaps rendering to the sphere and then to a view is a slow process for the engine. Its really great for a turbo effect when you pan the .arc of it as well. Thanks Ello for another amazing shader - you never cease to amaze me!

Code:



function zoom_in()
{
while(1)
{
if(ucfx_view.arc < -75)
{
ucfx_view.arc += 0.5;
}
if(ucfx_view.arc == -76)
{
ucfx_mdl.visible = off;
return;
beep();
}
wait(1);
}
}

function zoom_out()
{
ucfx_mdl.visible = on;
while(1)
{
if(ucfx_view.arc > -121)
{
ucfx_view.arc -= 0.5;
}
if(ucfx_view.arc == -120)
{
zoom_in();
return;
}
wait(1);
}
}

on_v = zoom_out();




Check out Silas. www.kartsilas.com

Hear my band Finding Fire - www.myspace.com/findingfire

Daily dev updates - http://kartsilas.blogspot.com/