Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question perfect in Scene, blurry in Game

Discussion in '2D' started by jcloughley, Jun 16, 2023.

  1. jcloughley

    jcloughley

    Joined:
    Feb 24, 2023
    Posts:
    2
    I'm working on a pixel perfect isometric game and I've brought my primitives into Unity. Each isometric tile is 44x55 pixels in size and they are laid out in a 2D project, using the Isometric view.

    As you can see if the attached image, "inscene.png", the tiles are laid out perfectly. However, when I flip to the Game view, the pixels are distorted and I'm not sure why.

    Initially they were blurry in the Scene and I changed a few settings. I changed Pixels Per Unit to 44 (the width of each of my sprites) and I changed Filter Mode to Point (no filter). That fixed up the Scene but the Game view still shows slight distortions.

    This is a vanilla project so perhaps there is something I need to change? I'm at a loss to what it is.

    Thanks...

    Jim
     

    Attached Files:

  2. karderos

    karderos

    Joined:
    Mar 28, 2023
    Posts:
    376
    you will have to jump through many hoops to make it pixel perfect, theres not a simple solution

    in general you will have to google a lot and you will have a lot of problems

    unity was not made for pixel perfect, you can just see on the forums the tons of problems that people have with it
     
  3. FaithlessOne

    FaithlessOne

    Joined:
    Jun 19, 2017
    Posts:
    256
  4. jcloughley

    jcloughley

    Joined:
    Feb 24, 2023
    Posts:
    2
    Thank you @FaithlessOne. I had already done the changes on the sprites but I hadn't found the Pixel Perfect Camera. After I set the "Assets Pixels Per Unit" to match the sprites (44), the Game view was no longer distorted.

    Jim