I have this masking code:
g.save();
g.drawTexture(_texture, 0, 0);
g.setBlendMode(BlendMode.Mask);
g.drawTexture(_mask, 0, 0);
It works fine for the Flash and android targets, but for html5, the colors of that object appear all black. The odd thing is, this only used to happen for Chrome. But now it's started happening in Firefox also.
I have this masking code:
g.save();
g.drawTexture(_texture, 0, 0);
g.setBlendMode(BlendMode.Mask);
g.drawTexture(_mask, 0, 0);
It works fine for the Flash and android targets, but for html5, the colors of that object appear all black. The odd thing is, this only used to happen for Chrome. But now it's started happening in Firefox also.