Class SubSurfaceScattering
Subsurface scattering volume component. This component setups subsurface scattering for ray-tracing.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
[Serializable]
public sealed class SubSurfaceScattering : VolumeComponent
Constructors
SubSurfaceScattering()
Default constructor for the subsurface scattering volume component.
Declaration
public SubSurfaceScattering()
Fields
rayTracing
Enable ray traced sub-surface scattering.
Declaration
[Tooltip("Enable ray traced sub-surface scattering.")]
public BoolParameter rayTracing
Field Value
Type | Description |
---|---|
BoolParameter |
sampleCount
Number of samples for sub-surface scattering.
Declaration
[Tooltip("Number of samples for sub-surface scattering.")]
public ClampedIntParameter sampleCount
Field Value
Type | Description |
---|---|
ClampedIntParameter |