Closed jpolitowski closed 2 years ago
My understanding of masks is that a single sprite can be a mask (not children of a sprite), and that any sprite or graphics used as a mask will be marked as not renderable (thus disappearing).
That makes sense. I'm really curious how the pixi.js homepage effect was created with that animated amoeba like mask. I need to accomplish something similar. Thanks!
Someone asked about that a few years ago. It is (or was at the time) an iframe of http://pixijs.teamgbaws.net/header/ which has minified code for you to look at. I believe it is a custom shader, definitely not pixi particles.
On Wed, Jul 14, 2021, 3:36 PM John Politowski @.***> wrote:
That makes sense. I'm really curious how the pixi.js homepage effect was created with that animated amoeba like mask. I need to accomplish something similar. Thanks!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pixijs/pixi-particles/issues/157#issuecomment-880156435, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN3N56GKWTFT6MY3BBB4J3TXXRNFANCNFSM5ALMCNAA .
I'm trying to achieve something like the Pixi.js homepage that has an image masked by what could possibly be a particle system.
I was able to put pixi-particles into a sprite and have that render correctly, but when I set that sprite up as a mask for another sprite, they disappear.