Why is my pixel art not scaling properly?
My pixel art looks fine in the scene view. But in game view, the lines appear thick and thinner in the wrong places. The pixel edges are only 1 pixel wide. I put the mouse cursor on the line for scale. Image 1 has the line appearing thinner. And image 2 has the line appearing thicker. How do I fix this?
Answer by gangstapug · Oct 04, 2020 at 07:09 PM
Ok I fixed it entirely for me. It turns out, all I had to do was to download the Pixel Perfect Camera package. Then I simply added the Pixel Perfect Camera component onto the camera object and it works perfectly. Now the pixels are scaled properly.
I learned it from this video and he explains how it works.
Answer by gangstapug · Oct 04, 2020 at 04:44 AM
I found the fix for me. I don't quite understand how it works entirely, but this video helped me learn how to correct it. I'll leave a link here in case anyone else has trouble with this issue as well.
Pixel Perfect Camera https://www.youtube.com/watch?v=YuSCRP0vr54
This blog from unity also talks about pixel perfect as well!
Your answer
Follow this Question
Related Questions
How to change a sprites color from a script? 0 Answers
Why my pixel sprites look blurry? 0 Answers
What is the best pixel perfect method? 1 Answer
[NOOB] Unity pixel per Unit? 1 Answer