Camera movement causes MASSIVE screen-tearing...

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By CynicalKazu

Hi, I’m working on a fast-paced Platformer and I’m using a Camera2D to scroll my level. The problem is that scrolling/movement of the camera causes a lot of screen-tearing. I tried to enable V-sync but apparently Godot hasn’t got an option for that yet. I also tried to force a framerate of 60 but the problem remains. Any help will not go unappreciated.

:bust_in_silhouette: Reply From: Zylann

You can enable V-sync in Project Settings, under the Window category.

You can also enable V-sync with the following code:

OS.vsync_enabled = true

I fixed the issue by actually disabling it… lol I had no idea is was enabled by default.

CynicalKazu | 2019-08-21 13:07