Jump to content

Pixel percision on rotation for renderer


semk
 Share

Recommended Posts

Ok maybe that title doesn't make sense?

The idea is tied to this - https://github.com/pixijs/pixi.js/issues/27

Basically when the sprite isn't drawn on a perfect pixel location, it gets blurred, not very nice looking.

Counter this with CSS3 - translate: rotateZ()  - here's a comparison attached, the teal background is pixi.js, the white is CSS3 DOM.

What can I do to get pixi to render like CSS3? I'm willing to dig into the renderer code base but I'd need some advice.

 

bunnies.png

Link to comment
Share on other sites

cool, I also have a regular 1080p secondary screen that I used to look at the quality, this retina support fix works on the regular display too so I'll stick with this for my project(s)

does it have a significant impact on performance? I imagine it would once the scene(s) starts getting busy and complex? at least more so than resolution: 1 ? 

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