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. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. 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