passName | This matches the Name given to the chosen Pass of all ShaderLab Shaders in the Scene. |
Selects which pass to use when intersecting materials in the Scene.
This name is specified in the ShaderLab shaders used in Materials applied to Renderers in the Scene, not in the RayTracingShader itself. Shader passes authored for ray tracing require specialized syntax, so you must call SetShaderPass before every dispatch of a RayTracingShader.
Did you find this page useful? Please give it a rating: