Class: SSAOEffect

SSAOEffect

new SSAOEffect()

Set the objects used for scene ambient occlusion. Environmental light shielding is mainly used to increase the brightness and stereoscopic effect when displaying solid color models

Example
// Get the ambient occlusion object from the scene object and enable it
scene.ssaoEffect.show = true;
scene.ssaoEffect.intensity = 2.0;

Members

intensitynumber

Get/set the ambient occlusion intensity of the scene. The default is 2.0. Scope [0-6]

radiusnumber

Get/set the ambient occlusion radius of the scene. Range [0-20]. Default value 2.0

showboolean

Enable scene ambient occlusion. Default to false

visibleDistancenumber

Get/set the visible distance of the scene's ambient occlusion effect. The default distance is 8000 meters.