Jump to content

Pixi.js and Graphics


Recommended Posts

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,


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.


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.

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.


  • Recently Browsing   0 members

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