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 have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Resolved Custom Render Pass masked by Shadows

Discussion in 'Universal Render Pipeline' started by Deleted User, Jul 20, 2020.

  1. Deleted User

    Deleted User

    Guest

    hello there, fellow unity lovers,
    I am currently struggling with custom passes in URP. In the past, I used Lightcookies to draw Cloud shadows over everything. Since Lightcookies are currently not supported, I tried to replicate this effect with a custom Render Pass and a Material Override. this works fine with the only downside that now even in the areas of shadow, the override takes place. Is there a way to mask my custom Render Pass based on the baked shadows?

    have a great day and thanks in advance for any help!

    cheers
     
  2. CG-JM

    CG-JM

    Joined:
    Feb 13, 2020
    Posts:
    1
    try using the 'Baked GI'-Node in Shader-Graph and use it as a mask.
     
    Deleted User likes this.
  3. Deleted User

    Deleted User

    Guest

    -> works like a charm! thank you!
     
  4. xxxhf

    xxxhf

    Joined:
    Feb 14, 2022
    Posts:
    1
    please show me the detail of how to use the 'Baked GI' Node as a mask if not in Shader-Graph..thank you very much!