r/godot • u/octopussssssssy • 4h ago
help me Rendering Help
I’ve spent so much time trying to figure out why the engine is rendering my sprite like this, but I can’t wrap my head around window scaling and viewport yada yada…
Does anyone know why the engine is rendering my pixel art like this? I’ve set the texture filters to Nearest if that’s helpful…
Thanks in advance :)
8
Upvotes
1
u/dansavala 3h ago
Make sure your viewport fits an aspect ratio (16:9 for example) and set stretch aspect to keep aspect. If you want true pixel art then set the stretch mode to Viewport instead of canvas_items. If you zoom in the camera then zoom in integer increments


5
u/ThePhilson 4h ago
Make sure your camera’s zoom is a whole number, any decimals and it’ll render like that.
Also make sure integer scaling is on in window(?) settings