Blurry/fuzzy pixel art when camera zoomed in

Godot Version

Version 4.1.1 Mono

Question

In my game, I am using 2D sprites. I made them using the pixel art editor program Piskel.

When I play the scene containing those sprites, the edges of each pixel gets fuzzy.

  • My cameras are children of subviewports. Don’t know if that would affect anything.

  • The camera I am using is zoomed in to 8 x 8. Normally its 2 x 2, but I wanted to use 8 x 8 to highlight the image blurriness. But I am using integer values and zooming in at powers of 2, so I wouldn’t think that should affect the pixel scaling.

  • I am using Default Texture Filter = Nearest. Most of what I could find online emphasized this.

  • The sprite itself is not scaled in any way - its scale is 1 x 1.

  • Turning on and off “Fix Alpha Border” in the import screen doesn’t fix anything.

How can I stop my sprite from looking fuzzy when the camera is zoomed in?

1 Like

I figured out the answer! But I want to leave my post up because I haven’t seen anything like it yet.

The fix was to set Default Texture Filter to “Nearest” instead of the “Linear” default.

Now every sprite in my subviewport looks crisp!

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.