Skip to content

ambientOcclusionLevel

const float ambientOcclusionLevel = 1.0;

Location: any glsl file

Sets the amount of vanilla ambient occlusion (AO) that is applied through the color vertex attribute. The default value is 1.0 (vanilla level), setting it to 0.0 will disable vanilla AO. Valid range for this value is [0.0 - 1.0].