Sign in to follow this  
killerderic

Blurry sprites at 60+FPS with camera lerp

Recommended Posts

Hi there !

I got some blurry simple sprite movement when moving and having a camera lerp. It's only when I use more than 60FPS ( 144 exactly ) ( set up with this.game.time.desiredFps = 144; )

So i tried to block at 60 FPS with this.game.time.desiredFps = 144; but I got some ghosting like effect. It's really easy to see it on this example : http://phaser.io/examples/v2/p2-physics/kill-and-revive

Anyone got an idea to avoid the blur or the ghosting ? That would help me so much :)

Share this post


Link to post
Share on other sites
1 hour ago, killerderic said:

Hi there !

I got some blurry simple sprite movement when moving and having a camera lerp. It's only when I use more than 60FPS ( 144 exactly ) ( set up with this.game.time.desiredFps = 144; )

So i tried to block at 60 FPS with this.game.time.desiredFps = 144; but I got some ghosting like effect. It's really easy to see it on this example : http://phaser.io/examples/v2/p2-physics/kill-and-revive

Anyone got an idea to avoid the blur or the ghosting ? That would help me so much :)

Do you mean screen tearing?

Example: E1n1FSo.gif

If not then I cant seem to find anything wrong with the example.

Share this post


Link to post
Share on other sites

Hummm it's not about tearing, it's about seing the the sprite in both new and old position for a short moment. I can only see it on my 144Hz monitor and it's happen more often on chrome than edge. Maybe because edge seems to be limited to 72fps.

Share this post


Link to post
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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.