Magia Posted August 12, 2019 Share Posted August 12, 2019 Hi How can I fix artifacts in Pixi Graphics, when I try to draw triangle? But when I try to draw text, it's ok and this is my App settings const app = new PIXI.Application({ width: 600, height: 600, backgroundColor: 0x141019, antialias: true, resolution: window.devicePixelRatio, }); ivan.popelyshev 1 Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted August 12, 2019 Share Posted August 12, 2019 filter breaks antialiasing. you can try to apply "filter.resolution=2" or 3, it will use bigger buffer to draw graphics inside before it applies filter. Magia 1 Quote Link to comment Share on other sites More sharing options...
Magia Posted August 13, 2019 Author Share Posted August 13, 2019 8 hours ago, ivan.popelyshev said: filter breaks antialiasing. you can try to apply "filter.resolution=2" or 3, it will use bigger buffer to draw graphics inside before it applies filter. Ok, naw it looks beter, but this is not anought. I think that I should use png instead PIXI.Graphics. Thanks ivan.popelyshev 1 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.