Jump to content

Pixi.js and Graphics


Magia
 Share

Recommended Posts

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,
});

eGsGnZi1bOzB01KS2IBAruxaB_TvLVA9Yy09zf2B

Link to comment
Share on other sites

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

E3YXJHP_bx34kwwZp2GR13JWvEuLVSD78S96JAUz

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...