Fade in/out?

Blitz3D Forums/Blitz3D Beginners Area/Fade in/out?

How do I fade screen to black and back to normal using gamma() function?

Does it have to be by gamma? It's easier to parent a quad and have it facing the camera - or just a cube , colour it black and then make it slowly transparent or solid using the entityalpha() command.

Note that Gamma() function can't work in Windowed modes, so your code isn't as portable if you use it...