thekayaker33 Posted December 3, 2021 Share Posted December 3, 2021 Hi, I am trying to get a graphics mask to behave as inverse mask. I know I can convert a graphics mask to a sprite mask, with generatetexture and use alpha masking, but that conversion process is too slow. How can I use graphics mask directly as an inverse mask? I saw here https://github.com/pixijs/pixijs/issues/252 , in pixi.js from 2013 that it was possible by changing a certain line in webglrendergroup.js, but it seems pixi.js version is different now in 2021. Do you know what line or file I need to change now to get inverse masking? Quote Link to comment Share on other sites More sharing options...
thekayaker33 Posted December 4, 2021 Author Share Posted December 4, 2021 never mind, i figured out another way through creating a custom filter Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.