Publisher | GGEZ |
---|---|
File size | 499.58kB |
Number of files | 7 |
Latest version | 1 |
Latest release date | 2018-03-02 05:10:35 |
First release date | 2017-10-09 03:19:22 |
Supported Unity versions | 2018.4.2 or higher |
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.