Help with pixel perfect, thanks.

Hello,

I’m testing things in unity but I’ve run into this problem and i can’t solve it…
I have the following configuration:

alt text

alt text

Images of the problem:

http://i.imgur.com/q19OZoz.png

alt text

As we can see in the problem images the pixels are blur or strange and i need the pixels not to be clipped or strange… i read that a possible solution to that is to create a script for Pixel Perfect but i can’t get it work… ¿Any suggestion? Thanks!!

You’ll have to set the orthographic camera’s size so that each sprite pixel gets rendered to an integer multiple of screen pixels. For each screen resolution, you’ll end up with specific camera sizes that produce a pixel perfect result. I have written a blog post that explains this in detail.

I have created a free simple camera script that does the above calculation for you. You can set the desired camera size and it will choose the closest one that is pixel perfect. You have to realize that it may zoom-in or zoom-out a bit, but that’s the best you can do.

You can get it for free from the asset store: Unity Asset Store - The Best Assets for Game Making

The Unity folks discuss this in their blog.