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

unity 2019. when you rotate a pixel art sprite its edges become jagged

Discussion in '2D' started by LedCompany1, May 14, 2020.

  1. LedCompany1

    LedCompany1

    Joined:
    Nov 29, 2019
    Posts:
    4
    Hello everyone!
    The attached image clearly shows the problem - the edges of the sprite are "notched"when turning. How do I fix this? Help, anti-aliasing doesn't help. Is there any way to remove these "notches"?
     

    Attached Files:

  2. nabrown

    nabrown

    Joined:
    Jun 27, 2019
    Posts:
    27
    Are you using pixel perfect camera? That's likely the culprit here if so.
     
    LedCompany1 likes this.
  3. LedCompany1

    LedCompany1

    Joined:
    Nov 29, 2019
    Posts:
    4
    Yes, I do. So it affects the "notches"? can this be fixed?
     
  4. LedCompany1

    LedCompany1

    Joined:
    Nov 29, 2019
    Posts:
    4
    what, it's just unrealistic to solve this?
     
  5. brigas

    brigas

    Joined:
    Oct 4, 2014
    Posts:
    522
    that effect is the point of the pixel perfect camera, you can disable the pixel perfect camera to remove the effect
     
    LedCompany1 likes this.
  6. LedCompany1

    LedCompany1

    Joined:
    Nov 29, 2019
    Posts:
    4
    but then the sprites start to shake, sub-pixels appear(
     
  7. brigas

    brigas

    Joined:
    Oct 4, 2014
    Posts:
    522
    check this video at 2:05



    thats how something rotating in pixel perfect is supposed to look like

    if yours doesnt look like that then maybe its another problem