Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

[Feature request] RayTracingShader.SetShaderPass support multiple passes

Discussion in 'General Graphics' started by guoxx_, Mar 1, 2022.

  1. guoxx_

    guoxx_

    Joined:
    Mar 16, 2021
    Posts:
    55
    I'm implement a volumetric path tracer in Unity, and that require to use different closest hit shader for volume/surface lighting and visibility/transmistance evaluation. However Unity didn't support multiple closest/any hit shader within a pass, is it possible to support multiple passes with RayTracingShader.SetShaderPass instead?