Overview
Pixel Perfect Camera is Unity’s camera-side helper for keeping pixel art aligned cleanly to the screen’s pixel grid. It sits on the camera, not on the sprite and not on the Tilemap Renderer. That means it solves a different problem from import settings such as Filter Mode: Point or correct Pixels Per Unit. Unity’s current 2D art guidance treats camera, sprite workflow, tilemaps, and rendering as one connected 2D pipeline rather than isolated settings pages (Unity, How to Make a 2D Game: Art, Animation, and Lighting for Artists, see source-unity-2d-art-animation-lighting).
Setup
Typical workflow:
- Import sprites correctly using unity-pixel-art-pipeline.
- Keep sprite and tileset Pixels Per Unit consistent.
- Add the Pixel Perfect Camera component to the scene camera.
- Build the level with unity-tilemap if the environment is tile-based.
- Test the final result in the actual Game view resolution you plan to ship.
Usage
Where the setting actually belongs
If a student asks whether Pixel Perfect Camera settings belong on the sprite or the Tilemap renderer, the practical answer is:
- Sprite import settings control how the art is imported.
- Tilemap Renderer controls how the tilemap layer is drawn.
- Pixel Perfect Camera belongs on the camera.
So the “pixel perfect” result comes from several layers working together, but the camera component itself is still a camera tool.
Pixel Perfect Camera vs sprite import settings
Use both:
Filter Mode: PointCompression: None- matching
Pixels Per Unit - a camera configured for pixel-perfect presentation
If the import settings are wrong, the camera cannot rescue blurry art. If the import settings are right but the camera scales awkwardly, the result can still shimmer or look uneven.
Gotchas
- Pixel Perfect Camera does not replace correct import settings.
- Apply the component to the camera you actually render through, not a random helper object.
- Tilemaps still need consistent PPU and clean tileset slicing, otherwise gaps and scaling issues remain.
- This page is still a starter answer surface; if the vault later ingests stronger package-specific docs, it should be upgraded.
Related
unity-pixel-art-pipeline · unity-tilemap · pixel-art-environment-art