Class PathTracing
A volume component that holds settings for the Path Tracing effect.
Implements
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[Serializable]
[VolumeComponentMenu("Ray Tracing/Path Tracing")]
[SupportedOnRenderPipeline(typeof(HDRenderPipelineAsset))]
public sealed class PathTracing : VolumeComponent, IApplyRevertPropertyContextMenuItemProvider
Constructors
Name | Description |
---|---|
PathTracing() | Default constructor for the path tracing volume component. |
Fields
Name | Description |
---|---|
enable | Enables path tracing (thus disabling most other passes). |
layerMask | Defines the layers that path tracing should include. |
maximumDepth | Defines the maximum number of bounces for each path, in [minimumDepth, 32]. |
maximumIntensity | Defines the maximum, post-exposed luminance computed for indirect path segments. |
maximumSamples | Defines the maximum number of paths cast within each pixel, over time (one per frame). |
minimumDepth | Defines the minimum number of bounces for each path, in [1, 32]. |
skyImportanceSampling | Defines if and when sky importance sampling is enabled. It should be turned on for sky models with high contrast and bright spots, and turned off for smooth, uniform skies. |
tilingParameters | Defines the number of tiles (X: width, Y: height) and the indices of the current tile (Z: i in [0, width[, W: j in [0, height[) for interleaved tiled rendering. |