Class AmbientOcclusion
This class holds settings for the Ambient Occlusion effect.
Inherited Members
Namespace: UnityEngine .Rendering.PostProcessing
Assembly: solution.dll
Syntax
[Serializable]
public sealed class AmbientOcclusion : PostProcessEffectSettings
Fields
Name | Description |
---|---|
ambient |
Only affects ambient lighting. This mode is only available with the Deferred rendering path and HDR rendering. Objects rendered with the Forward rendering path won't get any ambient occlusion. |
blur |
The tolerance of the bilateral blur filter to depth changes. |
color | A custom color to use for the ambient occlusion. |
direct |
Modifies he influence of direct lighting on ambient occlusion. This is only used in the HD Render Pipeline currently. |
intensity | The degree of darkness added by ambient occlusion. |
mode | The ambient occlusion method to use. |
noise |
The tolerance of the noise filter to changes in the depth pyramid. |
quality | The number of sample points, which affects quality and performance. Lowest, Low and Medium passes are downsampled. High and Ultra are not and should only be used on high-end hardware. |
radius | Radius of sample points, which affects extent of darkened areas. |
thickness |
Modifies the thickness of occluders. This increases dark areas but also introduces dark halo around objects. |
upsample |
The tolerance of the upsampling pass to depth changes. |
z |
Add a bias distance to sampled depth in AO to reduce self-shadowing aliasing artifacts. |
Methods
Name | Description |
---|---|
Is |
Returns |