Getting Pixel Art Crisp in Unity at Every Resolution
Pixel art that looks perfect in the editor goes soft or wobbly on a real phone. Here are the import settings, camera setup and scaling choices that keep every pixel sharp on any screen.

If your Unity pixel art looks blurry, three things are usually responsible: texture filtering, compression, and non-integer scaling. Set every sprite to Point filtering with no compression, add a Pixel Perfect Camera with the right Pixels Per Unit and reference resolution, and scale by whole numbers. Then snap moving sprites to the pixel grid to stop shimmer.
Fix the import settings first
Select your sprites in the Project window and check the Inspector. These are the settings that matter.
- Texture Type: Sprite (2D and UI).
- Filter Mode: Point (no filter). Bilinear blends neighbouring pixels, which is the main source of blur.
- Compression: None. Compressed formats smear colour edges on small sprites.
- Generate Mip Maps: off. You rarely want lower-detail copies of pixel art.
- Max Size: at least as large as the source image, so Unity never downscales it.
- Pixels Per Unit: the same value across every sprite, such as 16 or 32.
Setting this by hand on every import gets old fast. Save these settings as a Preset, then add it under Edit > Project Settings > Preset Manager with a filter on your art folder, and new imports pick it up automatically.
Add the Pixel Perfect Camera
With URP, add the Pixel Perfect Camera component to your main camera. It handles the maths of mapping art pixels to screen pixels.
The key fields:
- Assets Pixels Per Unit: match your sprites exactly.
- Reference Resolution: the size your art was designed for, such as 320 by 180.
- Crop Frame: decides how leftover screen space is handled. Letterbox or pillarbox keeps scaling exact.
- Grid Snapping: Pixel Snapping snaps sprites to the grid, while Upscale Render Texture renders at the reference size and scales the whole image up.
Upscale Render Texture gives the most faithful retro look, because nothing can sit between pixels. It also makes rotation look chunky, which you may or may not want.
The mobile resolution problem
Pixel art stays sharp only when each art pixel becomes a whole number of screen pixels. Phones come in many sizes and aspect ratios, so that rarely happens by accident.
| Screen height | Reference height | Scale | Result |
|---|---|---|---|
| 1080 | 180 | 6 | Exact, sharp |
| 1170 | 180 | 6.5 | Soft or uneven pixels |
| 1170 | 180 | 6, with letterbox | Sharp, thin bars top and bottom |
| 1440 | 180 | 8 | Exact, sharp |
You have two honest choices. Accept small bars around the image and keep integer scaling, or let the visible area grow on wider screens so the scale stays whole while players see slightly more of the level.
The second option is common for phones. Design levels with a safe area in the middle and some extra scenery at the edges.
Turn off everything that smooths
A few project-wide settings quietly soften pixel art.
- MSAA: set to Disabled in your URP asset. Anti-aliasing blurs sprite edges.
- Camera anti-aliasing: set to No Anti-aliasing on the camera.
- Post-processing: bloom and some blur effects soften edges, so test each one.
- Sprite Atlas: an atlas has its own filter and compression settings. Set them to match your sprites, or the atlas overrides your work.
If you see thin lines between tiles, check the atlas padding and make sure tiles use the same Pixels Per Unit. Our notes on tilemap optimisation for mobile cover tile setup in more detail.
Stop the shimmer when sprites move
Static art can be crisp while moving art still wobbles. That happens when a sprite sits between two pixels and the renderer rounds it differently each frame.
Snap the visual position to the pixel grid. Keep physics on the parent and put this on the child that holds the sprite:
void LateUpdate()
{
Vector3 p = transform.parent.position;
p.x = Mathf.Round(p.x * ppu) / ppu;
p.y = Mathf.Round(p.y * ppu) / ppu;
transform.position = p;
}
Here ppu is your Pixels Per Unit. Physics keeps its smooth values, and only the drawn sprite snaps. Do the same for the camera follow target, or the whole screen can jitter.
If you use the Pixel Perfect Camera with Upscale Render Texture, much of this snapping happens for you. It is still worth checking slow movement, such as a character drifting at walking pace, since that is where shimmer shows most.
UI and text
The UI needs the same care. Set the Canvas Scaler to Scale With Screen Size with your reference resolution, and use a pixel font with its atlas set to Point filtering.
Check pixel art on at least two real phones with different aspect ratios. The editor Game view hides most scaling problems.
What we would do
We would set a Preset for sprite imports before the first piece of art lands, then add the Pixel Perfect Camera with letterboxing or a safe-area layout decided up front. Changing scaling strategy after levels exist is painful.
Then we would add the snapping script to every moving sprite and test on two phones. Our art pipeline guide covers the steps before the art reaches Unity.
The short version
- Point filtering, no compression, no mipmaps, one Pixels Per Unit everywhere.
- Use a Preset so every import gets the right settings.
- Add the Pixel Perfect Camera and choose integer scaling.
- Turn off MSAA and match your Sprite Atlas settings.
- Snap moving sprites to the pixel grid in LateUpdate.
If you want a hand getting a pixel art game sharp on every phone, drop us a line.
Related reading: 2D game feel with camera and tweening, Unity UI performance on mobile, Unity performance on low-end Android
Got a game idea? We build it.
You bring the concept. We design, build, test and launch it, and you own 100% of the finished game.
Share Your Game Idea →