Search Unity

Question iOS square artifacts on Normal & Smoothness Maps

Discussion in 'General Graphics' started by fusobotic, Mar 14, 2021.

  1. fusobotic

    fusobotic

    Joined:
    Feb 27, 2010
    Posts:
    15
    Hey I noticed there are these strange unsightly square artifacts (sometimes with a circle in the middle) on my normal and smoothness maps using URP 7.4.1 in Unity 2019.4.0f1:

    upload_2021-3-14_12-59-57.png

    Any way to remedy this with texture filter settings? Do I need to up the resolution on these textures specifically? This only appears when I have the build platform set to iOS. Looks fine when it's on PC platform. Any help would be appreciated thanks!

    EDIT: I found that using RBGA 32 bit and RGB 24 bit seems to solve this, but I'm worried if I do this for each smooth material it will be too much of a performance hit since they'll be uncompressed. Only one or two of these materials will be present and applied in a scene afaik.
     
    Last edited: Mar 14, 2021
  2. Sky77

    Sky77

    Joined:
    Jan 30, 2014
    Posts:
    171
    Which compression format are you using?
    For the best results, use ASTC.
     
    fusobotic and bgolus like this.
  3. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,352
    What @Sky77 said.

    Unity will generally default to PVRTC on iOS. It’s a great compression format for color images, but terrible for any kind of data, like metallic or normal maps. ASTC 6x6 is a much better format in terms of image quality for data images for a similar compression ratio.
     
    fusobotic likes this.