IBillboardTextSceneNode and tranparency

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
skreamz_
Posts: 24
Joined: Sun Jan 17, 2010 9:56 pm

IBillboardTextSceneNode and tranparency

Post by skreamz_ »

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.
REDDemon
Developer
Posts: 1044
Joined: Tue Aug 31, 2010 8:06 pm
Location: Genova (Italy)

Re: IBillboardTextSceneNode and tranparency

Post by REDDemon »

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.
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
skreamz_
Posts: 24
Joined: Sun Jan 17, 2010 9:56 pm

Re: IBillboardTextSceneNode and tranparency

Post by skreamz_ »

tnx for the reply.

changed to png and have alpha channel.
still the same.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: IBillboardTextSceneNode and tranparency

Post by hybrid »

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.
skreamz_
Posts: 24
Joined: Sun Jan 17, 2010 9:56 pm

Re: IBillboardTextSceneNode and tranparency

Post by skreamz_ »

tnx
Post Reply