Weird colors on tileset while camera is moving towards a tile

Godot Version

4.7.1.stable

Question

Hello, I’m working on a 2d pixel art game, I’m using TileMapLayers with Tileset, and for some reason, when V-Sync is on, whenever the camera move, there will be weird colors on my tilesets. For example, if there’s a blue square just floating in the background, if I move towards it, it will get a yellow edge on the opposite side the camera is moving from. So if the camera is aproaching the square from the left, the right edge of the square will have a yellow color expand outside the square. The size of the color depends on the speed at which the camera is moving to. Here’s a few interesting things I found out:

The effect is very severe and noticable when V-Sync is on, however, when V-Sync isn’t on, it’s still there, but way less noticable.

Note that this happens on both TileMap nodes and TileMapLayer, but I don’t think it happens on normal sprite nodes, so I’m pretty sure the problem lies in Tilesets

Note that this happens no matter the resolution, no matter if it’s in fullscreen, windows or exclusive fullscreen

I couldn’t find any settings other than V-Sync that would change or stop this issue

And without a doubt the weirdest thing about this: I can’t record it. I don’t know how, but if I try recording it using OBS, doesn’t work. If I try recording using Window’s snipping tool, doesn’t work

i did manage to record it using my phone camera, but I can’t attach it to this because I’m a new user, here’s the google drive link, in that example, V-Sync is on and you can see the dark blue having a yellow color, the light blue having a red color and everything:

https://drive.google.com/file/d/1BVtyYU1zn4EB8EaLn0iCEXTr_8tHfWgk/view?usp=sharing

I’m completly at a loss here, no idea what I’m supposed to do. no idea if it’s even fixable, does anyone else have this issue? I haven’t found anything similar to this online. So far the best I got is turning off V-sync and ignoring it.

Hello all, figured out something new:

If I turn off V-Sync, the problem doesn’t happen anymore, however, my GPU now tries to make 4000 frames per second and is freaking out. In an attempt to stop this, I set the maximum FPS to 144, which is also my screen refresh rate, and that stopped my GPU from screaming in pain, but it also stopped this issue. so yeah, as far as I know, issue resolved? idk, I’m replying in case someone gets the same problem and finds this thread. Oh also I can turn on V-sync again and it doesn’t do it anymore

TL;DR: solution is to set a maximum fps limit, set it to your screen refresh rate (or whatever you expect people who play your game’s refresh rate to be, if your screen is 30Hz, someone who’d buy your game might have a 60Hz screen, so maybe put 60 as the maximum)