Problem with Cylindrical Billboard and transparency.

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
OnyxIdol
Posts: 10
Joined: Sat Jun 14, 2008 9:06 pm
Location: Germany

Problem with Cylindrical Billboard and transparency.

Post by OnyxIdol »

Hello everybody, this is my first post.
I switched from Irrlicht.NET.CP to C++ recently and am now taking my first steps with the "original" engine.

I am currently implementing (yet another) Cylindrical/Aligned Billboard scene node, which works quite fine in terms of orientation so far.
However, if I am using it with transparency (both add_color or alpha channel) the part of the node which is in front of another mesh will not show.

Now, don't hit me if this was already a topic but I searched for about half an hour and didn't find anything. :roll:
As You can see in the second screenshot, the node runs strait through the other mesh.

EDIT: Ah, I used the wrong Overload of registerNodeForRendering, I have to use the Transparent pass. :oops:

So this problem is solved then.

Image
Image
Post Reply