Alpha Transparency
I tried to set other alpha values and the "transparency" of the object seems to change as it should. Is the alpha value bigger than 100 it gets more and more red like the original texture. Is the value smaller than 100 it turns more and more like the background color. But when I set another object behind it, I can't see the object through it. Probably the front is transprant, but as the other sides are not I can only see the into the inside of the object or something similar to that.
But the function works with round objects. When I set the alpha value of a round object smaller than 255 I can see the other object behind it through. I can rotate that round object too and it is transparant in any position. The bad thing here is, that the round object has artifacts on the top and bottom (on the "edges" of the mesh the alpha value seems to be on 255).
Any ideas with this? i am not sure if that is a bug of irrlicht or of my function.
@jox: thank you for replying all the time!
But the function works with round objects. When I set the alpha value of a round object smaller than 255 I can see the other object behind it through. I can rotate that round object too and it is transparant in any position. The bad thing here is, that the round object has artifacts on the top and bottom (on the "edges" of the mesh the alpha value seems to be on 255).
Any ideas with this? i am not sure if that is a bug of irrlicht or of my function.
@jox: thank you for replying all the time!