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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    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!