Class PathTracing
A volume component that holds settings for the Path Tracing effect.
Inherited Members
UnityEngine.Rendering.VolumeComponent.active
UnityEngine.Rendering.VolumeComponent.OnEnable()
UnityEngine.Rendering.VolumeComponent.OnDisable()
UnityEngine.Rendering.VolumeComponent.Override(UnityEngine.Rendering.VolumeComponent, System.Single)
UnityEngine.Rendering.VolumeComponent.SetAllOverridesTo(System.Boolean)
UnityEngine.Rendering.VolumeComponent.GetHashCode()
UnityEngine.Rendering.VolumeComponent.OnDestroy()
UnityEngine.Rendering.VolumeComponent.Release()
UnityEngine.Rendering.VolumeComponent.displayName
UnityEngine.Rendering.VolumeComponent.parameters
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
[Serializable]
[VolumeComponentMenuForRenderPipeline("Ray Tracing/Path Tracing (Preview)", new Type[]{typeof(HDRenderPipeline)})]
public sealed class PathTracing : VolumeComponent
Constructors
PathTracing()
Default constructor for the path tracing volume component.
Declaration
public PathTracing()
Fields
enable
Enables path tracing (thus disabling most other passes).
Declaration
[Tooltip("Enables path tracing (thus disabling most other passes).")]
public BoolParameter enable
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.BoolParameter |
layerMask
Defines the layers that path tracing should include.
Declaration
[Tooltip("Defines the layers that path tracing should include.")]
public LayerMaskParameter layerMask
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.LayerMaskParameter |
maximumDepth
Defines the maximum number of bounces for each path, in [minimumDepth, 10].
Declaration
[Tooltip("Defines the maximum number of bounces for each path, in [minimumDepth, 10].")]
public ClampedIntParameter maximumDepth
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedIntParameter |
maximumIntensity
Defines the maximum, post-exposed luminance computed for indirect path segments.
Declaration
[Tooltip("Defines the maximum, post-exposed luminance computed for indirect path segments. Lower values help against noise and fireflies (very bright pixels), but introduce bias by darkening the overall result. Increase this value if your image looks too dark.")]
public MinFloatParameter maximumIntensity
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.MinFloatParameter |
maximumSamples
Defines the maximum number of paths cast within each pixel, over time (one per frame).
Declaration
[Tooltip("Defines the maximum number of paths cast within each pixel, over time (one per frame).")]
public ClampedIntParameter maximumSamples
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedIntParameter |
minimumDepth
Defines the minimum number of bounces for each path, in [1, 10].
Declaration
[Tooltip("Defines the minimum number of bounces for each path, in [1, 10].")]
public ClampedIntParameter minimumDepth
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedIntParameter |