Search Unity

Bug Triplanar inverted normals

Discussion in 'High Definition Render Pipeline' started by Carpe-Denius, Apr 7, 2022.

  1. Carpe-Denius

    Carpe-Denius

    Joined:
    May 17, 2013
    Posts:
    842
    The shader graph triplanar normal node seems to have inverted channels compared to standard normal texture sampling.

    All screenshots from 2022.1 b14, triplanar node vs. absolute world position texture2d-sampling.
    The map is a bullet hole normal map (like a volcano), no color map, just flat grey.

    Texture2d:

    upload_2022-4-8_0-47-26.png

    Triplanar default:

    upload_2022-4-8_0-47-55.png

    Triplanar with R and G multiplied by -1:

    upload_2022-4-8_0-48-38.png
     
    Last edited: Apr 7, 2022