Type Alias ScreenSpaceAmbientOcclusionSettings

Source
pub type ScreenSpaceAmbientOcclusionSettings = ScreenSpaceAmbientOcclusion;
👎Deprecated since 0.15.0: Renamed to ScreenSpaceAmbientOcclusion

Aliased Type§

struct ScreenSpaceAmbientOcclusionSettings {
    pub quality_level: ScreenSpaceAmbientOcclusionQualityLevel,
    pub constant_object_thickness: f32,
}

Fields§

§quality_level: ScreenSpaceAmbientOcclusionQualityLevel

Quality of the SSAO effect.

§constant_object_thickness: f32

A constant estimated thickness of objects.

This value is used to decide how far behind an object a ray of light needs to be in order to pass behind it. Any ray closer than that will be occluded.