Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Pixel Perfect Solution

Discussion in '2D' started by qVadro, Sep 9, 2017.

  1. qVadro

    qVadro

    Joined:
    May 18, 2017
    Posts:
    24
    Hi, i'm trying to figure out how make it work.
    There is the problem. Two sprites do not fit to each other. It's same size and same atlas file, it's not scaled or something.
    I tryed to use Pixel Perfect Camera from asset store, but it does not help.
    Can anyone explain how to fix it?
     
  2. CarterG81

    CarterG81

    Joined:
    Jul 25, 2013
    Posts:
    1,773
    Not easy to diagnose without opening the project myself. If I could load the project, I could probably tell you the problem quickly .
     
  3. Meatb0y

    Meatb0y

    Joined:
    Jan 25, 2015
    Posts:
    43
    It doesn't seem to be a camera problem because it happen in your scene too. My guess is your slice from your atlas is not at the exact bottom of your sprite (it happened when you use automatic slice).
     
    qVadro likes this.
  4. qVadro

    qVadro

    Joined:
    May 18, 2017
    Posts:
    24
    You are right. My bad. Somehow sprites was shifted