Page 1 of 1
How to mask the screen?
Posted: Sat Feb 04, 2006 7:42 pm
by lauwieroos
Hi,
I'm new to the engine, so i've got a question: how could I mask the whole screen with a certain colour and alpha?
sorry for my bad english
Posted: Sat Feb 04, 2006 9:36 pm
by Frodenius
well it would be helpfull to make your question a bit more precise
if you want to simulate a filter or something you could draw a screenfilling texture with half tranparency and the specific color.
Posted: Sat Feb 04, 2006 9:50 pm
by killzone721
wht do u mean mask the program. there is already a function that can color the bg (background) of a program...
driver->beginScene(false,false,(0,0,0,0);
th 4 numbers in th bracket is what set the color. in this case it will color the bg of progarm black
HOPE THIS HELPS....