If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
-
lauwieroos
- Posts: 3
- Joined: Sat Feb 04, 2006 1:42 pm
Post
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
Last edited by
lauwieroos on Wed Oct 08, 2014 11:25 pm, edited 1 time in total.
-
Frodenius
- Posts: 64
- Joined: Sun Aug 29, 2004 11:24 am
- Location: Germany/Frankfurt
-
Contact:
Post
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.
worst programming style ever seen...
-
killzone721
Post
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....