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. Dismiss Notice

Question Very jagged normal map issue

Discussion in 'General Graphics' started by danielesuppo, Apr 17, 2023.

  1. danielesuppo

    danielesuppo

    Joined:
    Oct 20, 2015
    Posts:
    331
    Hello, I'm using a 24bit png 2048x2048 pixels as normal map, but I get a very jagged and awful result...
    upload_2023-4-17_1-36-42.png

    I'm not using compression for the bitmap, so I really can't understand why it's so bad...
    Any help would be much appreciated!
    Many thanks
     
  2. c0d3_m0nk3y

    c0d3_m0nk3y

    Joined:
    Oct 21, 2021
    Posts:
    551
    Did you set the texture type and filter mode correctly?
    texturetype.jpg
     
  3. lilacsky824

    lilacsky824

    Joined:
    May 19, 2018
    Posts:
    164
    Do you use Compression?
     
  4. halley

    halley

    Joined:
    Aug 26, 2013
    Posts:
    1,869
    If your PNG is 24bit, then I think you're getting one 8bit channel converted to an 8bit heightmap. Save your image as a 16bit grayscale image.
     
  5. danielesuppo

    danielesuppo

    Joined:
    Oct 20, 2015
    Posts:
    331
    Hello all, I've solved disabling the mipmaps