Rasagar/Library/PackageCache/com.unity.render-pipelines.high-definition/Documentation~/reference-recursive-rendering.md
2024-08-26 23:07:20 +03:00

2.5 KiB

Recursive rendering override reference

For information on how recursive rendering works, refer to Recursive rendering.

Property Description
State Controls whether Recursive Rendering is enabled.
LayerMask Defines the layers that HDRP processes this ray-traced effect for.
Max Depth Controls the maximum number of times a ray can reflect or refract before it stops and returns the final color. Increasing this value increases execution time exponentially.
Max Ray Length Controls the length of the rays in meters that HDRP uses for ray tracing after the initial intersection. For the primary ray, HDRP uses the camera's near and far planes.
Min Smoothness Defines the threshold at which reflection rays are not cast if the smoothness value of the target surface is inferior to the one defined by the parameter.
Ray Miss Determines what HDRP does when recursive rendering doesn't find an intersection. Choose from one of the following options:
Reflection probes: HDRP uses reflection probes in your scene to calculate the last recursive rendering bounce.
Sky: HDRP uses the sky defined by the current Volume settings to calculate the last recursive rendering bounce.
Both : HDRP uses both reflection probes and the sky defined by the current Volume settings to calculate the last recursive rendering bounce.
Nothing: HDRP does not calculate indirect lighting when recursive rendering doesn't find an intersection.

This property is set to Both by default.
Last Bounce Determines what HDRP does when recursive rendering lights the last bounce. Choose from one of the following options:
Reflection probes: HDRP uses reflection probes in your scene to calculate the last bounce.
Sky: HDRP uses the sky defined by the current Volume settings to calculate the last recursive rendering bounce.
Both: HDRP uses both reflection probes and the sky defined by the current Volume settings to calculate the last recursive rendering bounce.
Nothing: HDRP does not calculate indirect lighting when it evaluates the last bounce.

This property is set to Both by default.