Search Unity

Question Normal Edge Decal Shader HDRP

Discussion in 'Shader Graph' started by a_galloway, Oct 25, 2020.

  1. a_galloway

    a_galloway

    Joined:
    Apr 22, 2018
    Posts:
    4
    Hi, I was wondering if anyone had an HDRP Solution for a mesh decal shader that affects only normals to add some breakup around sharp edges.

    Here's an example of what I mean: https://www.artstation.com/artwork/l3wwa

    The Unity shader linked in the example isn't for HDRP so I was wondering if anyone might have an idea or lead on how to get something that works the same way?

    Thank you for your time.
     
  2. Reanimate_L

    Reanimate_L

    Joined:
    Oct 10, 2009
    Posts:
    2,788
    HDRP have a decal shader already and it support projected and mesh decals
     
  3. Phobos_UA11

    Phobos_UA11

    Joined:
    Oct 1, 2020
    Posts:
    1
    You can try:
    1. Create -> ShaderGraph -> HDRP -> Decal Shader Graph
    upload_2023-11-24_21-18-46.png
    2.
    upload_2023-11-24_21-19-30.png
    upload_2023-11-24_21-20-13.png
    3. Result similar to Unreal without any shadow artifacts
    upload_2023-11-24_21-21-1.png