AmbientOcclusion.Props Interface
Describes the properties with which ambient occlusion should be drawn. These properties correspond to a horizon-based ambient occlusion approach.
Implemented by
Properties
Name | Type | Description | |
---|---|---|---|
bias | undefined | number | If defined, represents an angle in radians. | |
blurDelta | undefined | number | If defined, blurDelta is used to compute the weight of a Gaussian filter. | |
blurSigma | undefined | number | If defined, blurSigma is used to compute the weight of a Gaussian filter. | |
blurTexelStepSize | undefined | number | ||
intensity | undefined | number | If defined, raise the final ambient occlusion to the power of this value. | |
maxDistance | undefined | number | If defined, the maximum distance from the camera's near plane in meters at which ambient occlusion will be applied. | |
texelStepSize | undefined | number | If defined, indicates the distance to step toward the next texel sample in the current direction. | |
zLengthCap | undefined | number | If defined, if the distance in linear depth from the current sample to first sample is greater than this value, sampling stops in the current direction. |
Defined in
Last Updated: 23 April, 2020