Pixels not all the same size.

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

I’m working on a game with pixel graphics.

These are my window settings:
Godot settings

Some rows and columns of pixels are not perfect squares:
Uneven pixels

What is causing this / how do I fix it?

:bust_in_silhouette: Reply From: Mr. Gamezz

Godot 4 is a bit stupid with the way they handle pixels now. They took away the GPU pixel snap and they gave us these two new settings.
If you go into your project settings, look for the rendering tab, and click 2D, if you look hard enough you’ll find the two settings, one’s called “Snap 2D Transforms to Pixel”, the other is called “Snap 2D Vertices to Pixel”. Turning both of these should fix your problem.

This didn’t work for me. My scene is actually 3D, so I don’t know if that is causing it. I will create an issue on github.

wetbadger | 2023-06-09 16:26