These are chat archives for pixijs/pixi.js

Dec 2017
Dec 20 2017 11:53
Hello folks!!! Is there any example about Alpha mask PNG technique + AnimatedSprite? Thanks!!!
Dec 20 2017 11:59
PNG technique = JPG + PNG ( mask )
Ivan Popelyshev
Dec 20 2017 13:15
ugh, I lost the doc how to make JPG+PNG thing. I will make sure it will be available in pixi-v5.
you have to change texture on two sprites inside of one
on original sprite and its mask
or you can make shader plugin (based on pixi-plugin-example) that manages it
yeah, shader plugin will be better. Sorry, its not available right now. Either you code it, either you find workaround that is easy enough.
But only with simple Textures