Page 1 of 1
creating transparent buttons
Posted: Thu Apr 14, 2005 2:14 am
by databandit
hi
could someone please give me some code on how to make a transparent button?
thanks,
zubair
Posted: Thu Apr 14, 2005 4:30 am
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
Posted: Thu Apr 14, 2005 9:18 am
by databandit
actually... i was talking about the buttons which irrlicht gives to you... the GUI environment buttons...