Transparent text

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.
Post Reply
SlashOwnsU
Posts: 7
Joined: Tue Feb 14, 2006 3:15 am

Transparent text

Post by SlashOwnsU »

hi...I'm simply trying to draw some text that appear semi-transparent
I thought using some mid-value for alpha in a SColor would do it, but the text appears plain white no matter what I do

goes like
IGuiFont* font = device->getGUIEnvironment()->getFont("fonts/Marianda.bmp");
...
core::stringw text = "test";
font->draw(text.c_str(),
core::rect<s32>(100,100,300,300),
video::SColor(155,255,255,255));

any help ? why can't I make it transparent ?
vickylh
Posts: 9
Joined: Thu Mar 09, 2006 4:43 pm

Post by vickylh »

UP!
vickylh
Posts: 9
Joined: Thu Mar 09, 2006 4:43 pm

up

Post by vickylh »

UP!
vickylh
Posts: 9
Joined: Thu Mar 09, 2006 4:43 pm

up

Post by vickylh »

UP!
:lol:
SlashOwnsU
Posts: 7
Joined: Tue Feb 14, 2006 3:15 am

Post by SlashOwnsU »

^^
thanks for caring :)
Post Reply