I have multiple png files with alpha masks in each png’s. When I lay one on top of the other the objects are not displaying properly. I’m actually overlying an animated sprite built from png’s.
To make sure it was not something I was doing I placed two copies of the animated sprite on screen. One on a black background and one over the png with the alpha channel. The animation over the black background played correctly. The animation over the oject with the alpha channel displayed wrong (there are multiple layers of smoke not displaying properly)
I did the same test with a background png with NO alpha channel and the animation played correctly.
I tried setting the alpha channel on the png behind the animation but this made no difference.
It appears to me there is some kind of blending going on with these masks that is make the animation play incorrectly.
Can someone tell me how to fix this?
I will be happy to provide the image files if required.