Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question How to customize shadow cast pass and depth/normal prepass?

Discussion in 'General Graphics' started by Rein_Iwakura, Nov 18, 2023.

  1. Rein_Iwakura

    Rein_Iwakura

    Joined:
    Jul 4, 2023
    Posts:
    12
    I am using URP. I created this procedural terrain by simply ray marching in a blit pass:

    upload_2023-11-18_10-24-30.png

    I used the codes from here to inject it into the pipeline.

    Now I would like to include it in the shadow map, depth/normal prepass(if applicable), and g-buffers (if in deferred mode) as well. Is there any documentation on this? Thanks.