Search Unity

Question Separate alpha threshold for shadows in URP

Discussion in 'Shader Graph' started by TieSKey, Mar 9, 2023.

  1. TieSKey

    TieSKey

    Joined:
    Apr 14, 2011
    Posts:
    225
    HDRP has a separate alpha clip threshold for shadows, is there a way to implement this in URP with a custom function or something? (Absolute noob when it comes to text shaders)

    Thx in advance.
     
  2. wwWwwwW1

    wwWwwwW1

    Joined:
    Oct 31, 2021
    Posts:
    769
    You can refer to #2 of this thread. It shows a way to execute different nodes in different shader passes (forward, depth, shadow casting, gbuffer, ...).