mcolman Posted March 9, 2018 Share Posted March 9, 2018 Hi, I want to apply a circle mask to a sprite. What's the most performant way to do so with WebGL? Alpha mask or graphics mask? I recall that graphics circles were once made up of LOTS of lineTo calls so they were never actually perfect circles and performed really bad, not sure if this has been fixed though?? Thanks! Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted March 9, 2018 Share Posted March 9, 2018 There are no benchmarks for it. You have to try both. I made better alpha masks in this plugin :https://github.com/gameofbombs/pixi-heaven/ 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.