These are chat archives for pixijs/pixi.js

20th
Dec 2017
@R_Talon_twitter
Dec 20 2017 11:53
Hello folks!!! Is there any example about Alpha mask PNG technique + AnimatedSprite? Thanks!!!
@R_Talon_twitter
Dec 20 2017 11:59
PNG technique = JPG + PNG ( mask )
Ivan Popelyshev
@ivanpopelyshev
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