Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Bug (URP) Decal Normals do not work correctly with Environment lighting

Discussion in '2022.2 Beta' started by IanItor, Aug 27, 2022.

  1. IanItor

    IanItor

    Joined:
    Dec 21, 2017
    Posts:
    12
    I was trying to implement trim decals for edges in URP and got some shading artifacts. It looks like Decal is not completely overriting normals of underlying mesh when mesh is affected by Skybox Lighting or Gradient with different colors. The original normal map is popping out.
    If Environment Lighting is set to a Single Color (or metallic is set to 1) then it work as i expect.

    See the attached screenshots and please tell it is not intended. So i can submit bugreport.
    1.png 2.png 3.png 4.png