SaoFilter Class |
Namespace: DigitalRune.Graphics.PostProcessing
The SaoFilter type exposes the following members.
Name | Description | |
---|---|---|
SaoFilter |
Initializes a new instance of the SsaoFilter class.
|
Name | Description | |
---|---|---|
Dispose |
Releases all resources used by an instance of the PostProcessor class.
(Inherited from PostProcessor.) | |
Dispose(Boolean) |
Releases the unmanaged resources used by an instance of the PostProcessor class
and optionally releases the managed resources.
(Inherited from PostProcessor.) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnDisable |
Called when this post-processor is disabled.
(Inherited from PostProcessor.) | |
OnEnable |
Called when this post-processor is enabled.
(Inherited from PostProcessor.) | |
OnProcess |
Called when the post-processor should perform the post-processing.
(Overrides PostProcessorOnProcess(RenderContext).) | |
Process |
Performs the post-processing using the SourceTexture
and the RenderTarget specified in the render context.
(Inherited from PostProcessor.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Bias |
Gets or sets the bias used to avoid sampling artifacts.
| |
BlurScale |
Gets or sets the blur scale.
| |
CombineWithSource |
Gets or sets a value indicating whether the ambient occlusion should be applied to the
source image - or if a black-white AO image is produced, ignoring the source image.
| |
DefaultTargetFormat |
Gets or sets the default target format.
(This property is used by the PostProcessorChain).
(Inherited from PostProcessor.) | |
EdgeSharpness | Obsolete.
Gets or sets the edge sharpness.
| |
EdgeSoftness |
Gets or sets the edge softness.
| |
Enabled |
Gets or sets a value indicating whether this post-processor is enabled.
(Inherited from PostProcessor.) | |
GraphicsService |
Gets the graphics service.
(Inherited from PostProcessor.) | |
IsDisposed |
Gets a value indicating whether this post-processor has been disposed of.
(Inherited from PostProcessor.) | |
MaxOcclusion |
Gets or sets the max ambient occlusion value.
| |
MinBias |
Gets or sets the minimum bias used to avoid sampling artifacts.
| |
Name |
Gets or sets the name of the post-processor.
(Inherited from PostProcessor.) | |
NumberOfSamples |
Gets or sets the number of samples.
| |
Radius |
Gets or sets the sample radius in world space units.
| |
SampleDistribution |
Gets or sets the sample distribution.
| |
Strength |
Gets or sets the strength of the ambient occlusion.
|
This class implements SSAO using the "Scalable Ambient Obscurance" method. This method creates a higher quality result, but might be slower than the SSAO method used by the SsaoFilter.
To improve the performance of this post processor the G-Buffer 0 should be mipmapped. If the G-Buffer 0 texture does not use mip maps, then this effect might be slow with a large sampling Radius or when the scene is close to the camera.