Perfect Pixel Camera by GG EZ


An instant fix for pixel problems!

If you’re making a game with graphics like Stardew Valley, doing th ...


by GGEZ


★★★★★ star rating
Price History +

An instant fix for pixel problems!

If you're making a game with graphics like Stardew Valley, doing the camera calibration to get rid of shimmer and marching can be a pain. Instead, just add this component to your camera to make it pixel-perfect!

⚡ A drop-in solution ⚡
Perfect Pixel Camera works instantly without you needing to modify your code. It directly adjusts the camera's projection matrix to line things up. The only setting you need to adjust is the number of pixels per world unit.

⚡ Demo Included ⚡
The demo I used to generate the video demonstrating pixel errors is included in the project so you can see how it works.

⚡ Heads-up! ⚡
Pixel-perfect rendering requires care in setting up the rest of your project, too. See the "Pixel Perfect 2D" blog post for details. The TL;DR is: use point filtering, no mipmaps, turn off compression, power-of-2 sized textures only, anchor sprites at corners, and position GameObjects only at multiples of 1/PixelsPerUnit.