Wintermute Engine Forum

Wintermute Engine => Scripts, plugins, utilities, goodies => Topic started by: Igorrr on April 28, 2004, 08:36:53 PM

Title: FadeThrough method
Post by: Igorrr on April 28, 2004, 08:36:53 PM
I don't know for whom it may be of interested. For the Day / Night transition I need to be able to "fade through".
I am fading from day to dusk to night, so I need a way to fade from dusk to night directly without having the day pop up in the middle.
So I wrote this little method:

The parameters are:

ftime = The amount of time you would like the fading process to take in ms.
fro