BlurDepthScaling Property |
Namespace: DigitalRune.Graphics.PostProcessing
This property is only relevant for anisotropic (IsAnisotropic) or bilateral (IsBilateral) filters.
Setting DepthScaling to 0 disables depth scaling. The filter radius is constant over the entire scene.
If DepthScaling is 1, then the filter radius is scaled with scene depth, getting smaller in the distance. The filter radius at a distance of 1 unit is 100%. The filter radius at infinity is 0.
The value can be between 0 and 1, for example: If DepthScaling is 0.7, the filter radius decreases slowly with scene depth. The filter radius at a distance of 1 unit is 100%. The filter radius at infinity is 30%.