Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Resolved Artifacts in a 2d pixel art scene

Discussion in '2D' started by EchterBruder, Apr 19, 2023.

  1. EchterBruder

    EchterBruder

    Joined:
    Aug 13, 2022
    Posts:
    2
    Hi, I'm new to Unity.
    As you can see in the attached picture, my game keeps rendering some kind of artifacts in my tiles. Anti-aliasing is already switched off and I don't know where the problem could be anymore. The pixels per unit are also set correctly (8 for a 8x8 sprite). What things could I try to get rid of those artifacts? Screenshot 2023-04-19 105626.png
     
  2. karderos

    karderos

    Joined:
    Mar 28, 2023
    Posts:
    376
    create sprite atlas with padding = 2
     
  3. EchterBruder

    EchterBruder

    Joined:
    Aug 13, 2022
    Posts:
    2
    Thank you, that worked!