creating transparent buttons

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
databandit
Posts: 32
Joined: Tue Dec 21, 2004 11:36 am

creating transparent buttons

Post by databandit »

hi
could someone please give me some code on how to make a transparent button?

thanks,
zubair
SARIN
Posts: 139
Joined: Fri Oct 29, 2004 3:53 am

Post by SARIN »

u could try "IVideoDriver->makeColorKeyTexture(ITexture,position2d<s32>(0,0));
the position is the position of the pixel whose color u want to be transparent, and the texture is ur image. wow, i just confused myself
databandit
Posts: 32
Joined: Tue Dec 21, 2004 11:36 am

Post by databandit »

actually... i was talking about the buttons which irrlicht gives to you... the GUI environment buttons...
Post Reply