Harryk89 2 Posted May 22, 2018 Report Share Posted May 22, 2018 HI! I'm only learning PIXI, help is needed. How to implement a similar effect (erasing a picture), as an example https://grnch-net.github.io/. I have two pictures, on each other, I want to gradually erase the top picture with the cursor to see the bottom one. Quote Link to post Share on other sites
ivan.popelyshev 1092 Posted May 22, 2018 Report Share Posted May 22, 2018 https://pixijs.io/examples/#/demos/mask-render-texture.js There are better ways to do the same thing, but in your case total area is small so this one will work too. Harryk89 1 Quote Link to post Share on other sites
Harryk89 2 Posted May 22, 2018 Author Report Share Posted May 22, 2018 Thanks, did not notice at once this in the examples Quote Link to post Share on other sites
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.