AmbientOcclusionclass
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.
Constructors1
Showing 1 constructors
public AmbientOcclusion()
No results match this filter.
Methods1
Showing 1 methods
public virtual void Render()
void—No results match this filter.
Properties6
Showing 6 properties
public virtual int Sandbox.AmbientOcclusion.ComponentVersion { get; set; }
int—public float Sandbox.AmbientOcclusion.FalloffRange { get; set; }
Gently reduce sample impact as it gets out of the effect's radius bounds
float—public float Sandbox.AmbientOcclusion.Intensity { get; set; }
The intensity of the darkening effect. Has no impact on performance.
float—public Sandbox.AmbientOcclusion.SampleQuality Sandbox.AmbientOcclusion.Quality { get; set; }
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.
int—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
float—No results match this filter.