2d-extras icon indicating copy to clipboard operation
2d-extras copied to clipboard

how to fix map edges pixel?

Open CanNotFind opened this issue 6 years ago • 2 comments

problem

CanNotFind avatar May 17 '19 06:05 CanNotFind

This is usually caused by a floating point precision issues when the Camera's size isn't set to a perfect multiple of your pixel size.

It's a tough issue, and there's lots of advice on it, but I think Unity may have a PixelPerfectCamera component to help with it: https://forum.unity.com/threads/pixel-perfect-preview-package.533433/

Not sure. Wish I could help more but I've only got time to try to get you pointed in the right direction.

edwardrowe avatar May 17 '19 18:05 edwardrowe

ProCamera2D also has features to help with it, if you want to shell out money for an asset.

edwardrowe avatar May 17 '19 18:05 edwardrowe