Hello!
I'm using a custom scene node with 4 vertices to draw a .png using an ortho camera. What I would like to be able to do is set the opacity of the whole .png and still to keep the .png owns opacity. So if on the .png I have a place where 50% opacity is used and I want to apply 30% opacity, it will apply more 30% opacity to the 50% resulting in 65% opacity (I could be wrong, I don't know this opacity thing is done), and where no opacity was used would get 30%. Is this possible?
Here is a picture trying to explain what I mean
On the left you see a block .png with 0% opacity and at the right one with 50% opacity. I want to be able to do 50% opacity without having to make a new .png, is it possible? I have been messing with EMT_TRANSPARENT_VERTEX_ALPHA, but results are not as expected. It removes the .png opacity and does not apply opacity to the whole bitmap.
Thanks in advance guys!
Opacity on the whole .png, using custom scene node
There currently isn't a built-in material that does this, but there is a patch posted either here on the forum or on the patch tracker to allow vertex alpha on the "one texture blend" material. We should probably add this patch to Irrlicht actually.
Anyway it should work if you set the standard transparent blend
Anyway it should work if you set the standard transparent blend