public sealed class Sandbox.AmbientOcclusion : Sandbox.BasePostProcess<T>
Adds an approximation of ambient occlusion using Screen Space Ambient Occlusion (SSAO). It darkens areas where ambient light is generally occluded from such as corners, crevices and surfaces that are close to each other.
Related Guides
Broader workflow and conceptual references connected to this API.
Constructors
Showing 1 constructors
public AmbientOcclusion()
No results match this filter.
Methods
Showing 1 methods
public virtual void Render()
No results match this filter.
Properties
Showing 7 properties
public virtual int Sandbox.AmbientOcclusion.ComponentVersion { get; set; }
public Sandbox.AmbientOcclusion.DenoiseModes Sandbox.AmbientOcclusion.DenoiseMode { get; set; }
How we should denoise the effect
public float Sandbox.AmbientOcclusion.FalloffRange { get; set; }
Gently reduce sample impact as it gets out of the effect's radius bounds
public float Sandbox.AmbientOcclusion.Intensity { get; set; }
The intensity of the darkening effect. Has no impact on performance.
public Sandbox.AmbientOcclusion.SampleQuality Sandbox.AmbientOcclusion.Quality { get; set; }Obsolete
Obsolete: This API member is obsolete.
public int Sandbox.AmbientOcclusion.Radius { get; set; }
Maximum distance of samples from pixel when determining its occlusion, in world units.
public float Sandbox.AmbientOcclusion.ThinCompensation { get; set; }
Slightly reduce impact of samples further back to counter the bias from depth-based (incomplete) input scene geometry data
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.AmbientOcclusion |