Jump to content

settings.RESOLUTION or PIXI.Application.resolution


pranastons
 Share

Recommended Posts

Why if I set PIXI.settings.RESOLUTION = window.devicePixelRatio (my case is 1.25) or PIXI.Application.resolution> 1 (for example 1.25 or 1.5 or 2) sprite (textura?) becomes over size after a while. I cannot understand why this is happening. and how can I improve the quality of the render?

normal
http://joxi.ru/5mdqVneU843J42
after
http://joxi.ru/Q2KQ3qvHvbLg4r

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...