Search Unity

Question UI image normally too sharp, but too blurry with Mip Maps

Discussion in 'UGUI & TextMesh Pro' started by skillllzzzz, May 12, 2021.

  1. skillllzzzz

    skillllzzzz

    Joined:
    Jan 7, 2020
    Posts:
    18
    When I use images in my UI, I have an issue where they are always too "sharp", meaning they look like below:

    upload_2021-5-12_22-17-37.png
    A settings icon I have used in my UI. This is what it looks like normally.

    I attempted to solve this problem by enabling mip maps, but this is what is looks like then:

    upload_2021-5-12_22-19-7.png
    Same icon as above, but with mip maps enabled.

    I am looking for a result that is in between these two. Something that doesn't have jagged edges, but also doesn't look too blurry.

    I have looked into enabling Anti-Aliasing, but this only seems to be available if the UI canvas' render mode is set to "Screen Space - Camera", but my implementation is of the render mode set to "Screen Space - Overlay". My UI seems to break when I change the render mode, so I'm stuck with "Screen Space - Overlay" for now.

    Any suggestions welcome!
     
  2. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,490
    FYI: The 2D forum is not for UI. That's the UI forums here.
     
  3. skillllzzzz

    skillllzzzz

    Joined:
    Jan 7, 2020
    Posts:
    18
    Sorry about posting in the wrong place, and thanks for letting me know. I can't seem to find a way to delete this thread, unfortunately.
     
  4. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,490
    Not a problem, it was just for the future. I can move your thread there now.
     
  5. skillllzzzz

    skillllzzzz

    Joined:
    Jan 7, 2020
    Posts:
    18
  6. skillllzzzz

    skillllzzzz

    Joined:
    Jan 7, 2020
    Posts:
    18
  7. skillllzzzz

    skillllzzzz

    Joined:
    Jan 7, 2020
    Posts:
    18