i have a IBillboardTextSceneNode using my own bmp font. and am unable to get transparancy, (trying to get a flashing effect).
tried both
setColor
setTextColor
with alpha values of different amounts, still no difference.
any idea on what it could be, tnx.
IBillboardTextSceneNode and tranparency
Re: IBillboardTextSceneNode and tranparency
bmp has no trasparency channel. You should open your file with gimp then right click on the image layer -> add alpha channel.
Then use color selection tool, select the background area you want trasparent and press "canc". Save as PNG.
anyway irrlicht have a built-in font tool wich can help you.
Then use color selection tool, select the background area you want trasparent and press "canc". Save as PNG.
anyway irrlicht have a built-in font tool wich can help you.
Junior Irrlicht Developer.
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
Re: IBillboardTextSceneNode and tranparency
tnx for the reply.
changed to png and have alpha channel.
still the same.
changed to png and have alpha channel.
still the same.
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: IBillboardTextSceneNode and tranparency
There's also 32bit bmp with alpha channel. Important part is here, though, that you enable a transparent material, which also uses the alpha channel.