▦ PIXEL-DECK
← All Guides

Pixel Art · EN

Godot 4 Pixel Art Settings: Fix Blur, Jitter & Tile Seams

Learn how to make pixel art crisp in Godot 4. Fix blurry sprites, camera jitter, uneven scaling and tile seams with practical, beginner-friendly settings.

By Creador ·

Have you ever imported a beautiful pixel art sprite into Godot, pressed Play, and wondered why it suddenly looked blurry? Or maybe your character looks perfectly sharp when standing still, but the environment starts jittering as soon as your camera moves. You might even notice tiny gaps appearing between tiles that should connect seamlessly. These are common problems when building pixel art games in Godot 4, and the good news is that most can be solved without changing your artwork or writing complicated shaders. In this guide, you'll learn how to configure Godot 4 pixel art settings correctly, prevent blurry sprites, choose the right resolution, reduce camera jitter, and troubleshoot TileMapLayer seams. Updated for Godot 4.7 — November 2026. The principles also apply to many earlier Godot 4 releases, although some setting names and editor layouts may differ.

Quick Answer: The Best Godot 4 Pixel Art Settings

If you want crisp, consistent pixel art in Godot 4, start with these settings:

SettingRecommended value
Base viewport resolution640 × 360
Stretch ModeViewport
Stretch AspectKeep
Stretch Scale ModeInteger
Default Texture FilterNearest
Camera Zoom1.0 to start
Camera Position SmoothingDisabled for initial testing
Pixel SnappingTest if movement or edges look unstable

These are excellent starting points for a traditional pixel art game. They are not universal requirements: different art styles, camera systems and screen targets may call for different configurations. Let's look at why each setting matters and how to fix specific problems.

1\. Why Does Pixel Art Look Blurry in Godot 4?

Pixel art is designed around clearly visible, deliberately placed pixels. A small 16×16 character might use only a handful of colors, with every pixel contributing to the final appearance. When that character is enlarged, the game engine has to decide how to display the original pixels at a larger size. Two common texture filtering methods are: Linear filtering: Blends neighboring pixel colors together. This produces smooth transitions, but can make pixel art look soft or blurry. Nearest-neighbor filtering: Samples the nearest texture pixel without blending neighboring colors. This preserves the hard edges associated with traditional pixel art. For most retro-style games, nearest-neighbor filtering is what you want.

How to fix blurry sprites

1. Open your Godot project. 2. Go to Project → Project Settings. 3. Find Rendering → Textures → Canvas Textures. 4. Change Default Texture Filter to Nearest. 5. Run your game again.

You should now see sharper edges on sprites that inherit the project default.

What if one sprite is still blurry?

Select the affected Sprite2D node. Find its Texture → Filter property in the Inspector and set it to Nearest. Individual CanvasItem nodes can override the project-wide texture filtering setting. Parent nodes can also influence inherited filtering. Important: If your original image is already blurry, nearest filtering cannot restore missing detail. Check that your source artwork is crisp at its native resolution.

2\. Choose the Right Pixel Art Resolution

One of the biggest beginner mistakes is using a high-resolution viewport for a game designed around tiny pixel art sprites. For example, a character drawn at 16×16 pixels may look extremely small in a 1920×1080 game world. You can solve this by working with a lower internal resolution and scaling the game to the player's screen.

Recommended starting resolutions

ResolutionBest suited for
320 × 180Very chunky retro pixel art
384 × 216Compact 16:9 pixel art games
640 × 360Versatile pixel art games with more detail
640 × 480Games designed around a 4:3 aspect ratio

For a beginner creating a 16:9 desktop game, 640×360 is an excellent starting point. It scales cleanly to common screen resolutions:

  • 1280×720 = 2× scale
  • 1920×1080 = 3× scale
  • 2560×1440 = 4× scale
  • 3840×2160 = 6× scale

Each source pixel can occupy an evenly sized group of screen pixels.

How to change the resolution

Open: Project → Project Settings → Display → Window Set the viewport width to 640 and viewport height to 360. Keep in mind that the viewport resolution determines how much of the game world the player sees. A smaller viewport does not automatically make a game better. It creates a more pronounced pixelated appearance, but also leaves less room for fine details.

3\. Configure Stretch Mode and Integer Scaling

Even with nearest-neighbor filtering enabled, pixel art can look inconsistent if it is scaled by fractional amounts. Imagine a game rendered at 640×360 being displayed at a screen size that isn't an exact multiple of its base resolution. If the game is scaled by 2.5×, some displayed pixels may occupy two screen pixels while others occupy three. This creates uneven-looking edges and can make scrolling environments appear unstable.

Recommended stretch settings

Go to: Project → Project Settings → Display → Window → Stretch Configure:

  • Modo: Viewport
  • Aspect: Keep
  • Scale Mode: Integer

In Godot 4, the Viewport stretch mode renders the scene at the configured internal resolution before scaling the result. Integer scaling constrains the scaling factor to whole-number steps. This helps keep pixel sizes visually consistent.

Why are black borders appearing?

Black borders are a normal possible result of maintaining the correct aspect ratio and integer scaling. If your game's resolution does not perfectly fit the player's screen, Godot may use unused space around the game instead of stretching pixels unevenly. You can experiment with the Expand aspect option if your game needs to support different screen shapes. However, when consistency is your priority, Keep is a reliable starting point. Developer tip: Don't blindly increase the internal resolution just to remove black borders. A larger viewport changes how much of the world is visible and can make your artwork appear smaller.

4\. Fix Pixel Art Camera Jitter in Godot 4

Camera jitter is one of the most frustrating problems in pixel art game development. Your game might look fine while the player stands still, but as soon as the camera follows the character, trees, walls, floors and other objects appear to shake or move unevenly. There are several possible causes.

Cause 1: Fractional camera movement

A camera following a player can end up at fractional positions such as: (120.35, 85.72) When using low-resolution rendering, those fractional positions may produce visible inconsistencies between frames. The effect becomes especially noticeable when a detailed background moves behind a relatively stationary character.

Cause 2: Camera smoothing

Godot's Camera2D supports position smoothing. This can produce pleasant camera movement in many games, but it can also introduce visible pixel stepping in low-resolution pixel art.

How to troubleshoot camera jitter

Start with a simple test:

1. Select your Camera2D node. 2. Temporarily disable Position Smoothing. 3. Set the camera zoom to (1, 1). 4. Confirm your project is using Viewport stretch mode. 5. Confirm your texture filtering is set to Nearest. 6. Run the game and compare the results.

If the jitter disappears, re-enable features one at a time. This helps you identify whether the problem comes from smoothing, scaling, movement updates or camera positioning.

Should you enable pixel snapping?

Godot provides 2D snapping settings under: Project Settings → Rendering → 2D → Snapping Pixel snapping can help align rendered content to pixel boundaries. However, it isn't a universal cure for jitter. Some movement systems intentionally use subpixel positions to achieve smoother motion. Snapping everything can introduce new visible stepping. Try one snapping option at a time and compare the result before keeping it.

What about physics movement?

If your player uses CharacterBody2D, it is generally appropriate to calculate physics-driven movement in _physics_process(). You should also investigate whether your camera updates are synchronized appropriately with player movement. Don't immediately round every physics coordinate to an integer. Forcing the underlying player position onto a pixel grid can negatively affect collision behavior or movement smoothness. A better approach is to distinguish between the internal physics position and how the game is rendered. The key rule: Keep the game's movement logic accurate while making the final visual output consistent.

5\. Fix Lines and Gaps Between Tiles in Godot 4

Another common issue appears when building worlds using tilesets. You create a beautiful grass map, but tiny lines become visible between tiles when the camera moves. These lines might look like cracks, transparent gaps, or pixels from neighboring textures. Before changing random settings, identify which type of seam you're seeing.

Problem A: Incorrect tileset dimensions

Suppose your tileset contains 16×16 tiles. If Godot interprets the source atlas as having a different cell size or separation, it may sample the wrong image regions. Check the TileSet atlas properties:

  • Texture Region Size
  • Margins
  • Separation

Make sure they match your source image. For a tightly packed atlas of 16×16 tiles without borders, you would normally start with a 16×16 texture region size, zero margin and zero separation. If your spritesheet contains actual spacing between tiles, configure that spacing rather than assuming it is zero.

Problem B: Texture bleeding

Texture bleeding occurs when pixels near the edge of an atlas region are sampled incorrectly, potentially exposing colors from neighboring regions. Godot's TileSet atlas has a Use Texture Padding option that can help prevent texture bleeding when filtering is enabled. Leave this enabled by default unless it causes a specific rendering problem. Also check your texture filtering settings.

Problem C: Camera movement and fractional scaling

If seams appear mainly while moving, your camera or viewport scaling may be involved. Test with:

1. Nearest texture filtering. 2. Viewport stretch mode. 3. Integer scaling. 4. Camera smoothing temporarily disabled. 5. A fixed camera position.

If the seams disappear while the camera is stationary, investigate the rendering and movement configuration before modifying your tileset artwork.

Problem D: The source tiles do not actually connect

Not every visible seam is a technical rendering problem. If the top row of one grass tile does not visually connect to the bottom row of another, the resulting boundary may be part of the artwork itself. Check the tiles in a repeating grid. A seamless texture should connect naturally with its neighboring tiles in every intended direction. Tip: Test your tileset using a large repeated area before building an entire game world. A small problem is much easier to fix before hundreds of tiles have been placed.

6\. Use the Correct Sprite Sizes

Pixel art does not have one universally correct sprite size. A 16×16 character can work beautifully alongside 16×16 terrain tiles. But combining a tiny 16×16 character, a 128×128 environment object and a heavily downscaled 512×512 prop can make the game feel visually inconsistent. The solution is to establish a consistent visual scale.

Example for a cozy top-down pixel art game

You could choose:

  • Ground tiles: 16×16
  • Character: 16×24
  • Small objects: 16×16 or 32×32
  • Trees: 32×48
  • Buildings: 64×64 or larger

These dimensions are examples, not fixed requirements. The important part is that the objects look like they belong in the same world. Try to keep pixel density, perspective and detail levels consistent. When combining assets from different creators, check their native sizes before importing them into Godot. If you're still looking for sprites and tilesets, explore the Pixel-Deck asset collection.

7\. Why Does Pixel Art Look Different in the Editor and the Game?

This is another question many beginners encounter. You zoom in on a sprite in Godot's 2D editor and it looks wonderfully crisp. Then you run the game and the pixels appear uneven or blurry. The reason is that the editor preview and your running game are not necessarily using the same display scale or rendering configuration. The 2D editor also provides its own zoom and snapping controls.

How to test correctly

Don't judge your pixel art exclusively by how it looks in the editor. Instead:

1. Run the actual game. 2. Test it at its intended display resolution. 3. Test windowed and fullscreen modes. 4. Move the character and camera. 5. Inspect sprites, thin outlines, tile borders and text. 6. Compare the result at different window sizes.

A single screenshot while standing still isn't enough to verify that a pixel art game's rendering behaves correctly. The real test is how the artwork looks during gameplay.

8\. Common Godot Pixel Art Mistakes to Avoid

These are some of the most frequent mistakes made when starting a new pixel art project. Mistake 1: Using linear filtering for traditional pixel art. This can make deliberately sharp artwork look blurry. Mistake 2: Choosing a base resolution without considering sprite size. A 16×16 character may become difficult to see if your game displays too much of the world at once. Mistake 3: Ignoring fractional scaling. Nearest filtering alone does not guarantee evenly sized pixels on every screen. Mistake 4: Enabling camera smoothing without testing it. Smooth camera movement and visually stable pixel art are related but separate goals. Mistake 5: Mixing asset packs with inconsistent visual scales. Even technically perfect rendering cannot fix artwork with incompatible proportions or perspectives. Mistake 6: Solving every rendering problem by rounding positions. Rounding can help in certain rendering situations but may create problems when applied directly to physics logic. Mistake 7: Using old Godot 3 tutorials without checking the version. Some project settings, nodes and workflows changed in Godot 4. Always verify that the tutorial matches your engine version.

9\. Recommended Workflow for Starting a Pixel Art Game

If you're beginning a new project, a good workflow can prevent many problems before they appear.

Paso 1: Decide on your art style

Choose whether you're creating a chunky 8-bit-inspired game, detailed 16-bit-style artwork, or a modern pixel art game. You don't need to reproduce the technical limitations of historical hardware. You just need a visual direction.

Paso 2: Choose a native tile size

For a first game, 16×16 or 32×32 tiles are practical options.

Paso 3: Configure rendering before making levels

Set up your viewport, nearest filtering and scaling before you create a large environment.

Paso 4: Import one player sprite

Make sure the character displays correctly at its native size. For a detailed importing walkthrough, see our Godot 4 pixel art and sprite sheet guide.

Paso 5: Create a small test environment

Use a few repeating floor tiles, a wall and one animated object.

Paso 6: Add player movement

Test movement in every direction, including diagonally if your game uses top-down controls.

Paso 7: Introduce the camera

Enable camera following and observe the environment carefully.

Paso 8: Test different screen sizes

Check your game in a small window, a larger window and fullscreen mode.

Paso 9: Only then expand the world

Once the foundation looks correct, you can confidently build additional environments, characters, animations and gameplay systems. This order helps you avoid discovering fundamental rendering problems after you've already invested hours into content.

10\. Godot Pixel Art FAQ

What is the best resolution for pixel art in Godot 4?

For a 16:9 desktop pixel art game, 640×360 is a strong starting point. It scales cleanly to common 720p, 1080p and 1440p displays when integer scaling is used. Smaller resolutions such as 320×180 create larger, chunkier pixels.

How do I make pixel art less blurry in Godot?

Set the texture filter to Nearest, use a suitable internal resolution and configure your stretch settings. If the image remains blurry, inspect the original source texture and any node-level filtering overrides.

Should I use Nearest or Linear filtering?

Nearest is normally preferable for crisp, traditional pixel art. Linear filtering may be appropriate if you deliberately want a softer or more modern visual style.

Does Godot 4 support integer scaling?

Yes. Godot 4 supports an Integer stretch scale mode, which helps preserve consistent pixel sizes when scaling a game window.

Why is my Godot camera jittering?

Possible causes include fractional camera positions, camera smoothing, mismatched movement update timing and scaling choices. Disable smoothing and simplify your camera setup to isolate the problem.

How do I fix tilemap seams in Godot 4?

Check the TileSet atlas dimensions, margins, separation, texture filtering, padding and viewport scaling. Also verify that the artwork itself is seamless.

Is Godot good for pixel art games?

Yes. Godot provides dedicated 2D nodes, TileSet and TileMapLayer tools, texture filtering controls, animation features and configurable viewport scaling. These make it a capable engine for building both simple and complex pixel art games.

Do I need to know programming to fix blurry pixel art?

Usually not. Many common blur and scaling issues can be corrected through Godot's Project Settings and the Inspector without writing code.

Final Checklist: Make Your Pixel Art Look Crisp

Before you publish your game, check the following:

  • Sprites use the intended texture filtering.
  • The internal viewport resolution matches your art style.
  • Stretch Mode and Stretch Scale Mode are configured.
  • Your camera behaves consistently while moving.
  • Tilemaps have no unwanted gaps or texture bleeding.
  • Sprite sizes and pixel density are visually consistent.
  • The game has been tested at different window sizes.
  • All imported artwork is used according to its license.

Getting pixel art to look right isn't about making every setting as retro as possible. It's about understanding how your artwork, camera, viewport and rendering settings work together. Once those foundations are correct, you can focus on the fun part: creating the actual game.

Keep Creating with Pixel-Deck

Building a pixel art game is easier when you can experiment, test ideas and learn from other creators. At Pixel-Deck, you can explore pixel art, find game assets, experiment with creative tools and discover indie games made by the community. You can also learn more about importing pixel art into Godot 4 or explore our pixel art and game development guides. Whether you're making a tiny weekend project or your first full indie game, every great pixel art world starts with a few carefully placed pixels. Small pixels. Great worlds.

***

References and Further Reading

This guide was independently written using Godot's official documentation as a technical reference:

Godot is an independent open-source game engine. Pixel-Deck is not affiliated with or endorsed by the Godot Engine project.

Descubrir más Pixel-Deck Guides, recursos gratuitos para juegos and browser games.