True once this Component has been destroyed.
Don't use this Component if this is true
.
Protected
dirtyUnique ID of this Component.
Readonly
viewThe View to which this SAO belongs.
Gets if SAO is currently applied.
This is true
when View.renderMode is
in SAO.renderModes.
Gets the SAO bias.
Default value is 0.5
.
Sets the SAO bias.
Default value is 0.5
.
Gets the SAO blend cutoff.
Default value is 0.3
.
Normally you don't need to alter this.
Sets the SAO blend cutoff.
Default value is 0.3
.
Normally you don't need to alter this.
Gets the SAO blend scale.
Default value is 1.0
.
Normally you don't need to alter this.
Sets the SAO blend factor.
Default value is 1.0
.
Normally you don't need to alter this.
Gets whether Guassian blur is enabled.
Default value is true
.
Sets whether Guassian blur is enabled.
Default value is true
.
Gets the degree of darkening (ambient obscurance) produced by the SAO effect.
Default value is 0.15
.
Sets the degree of darkening (ambient obscurance) produced by the SAO effect.
Default value is 0.15
.
Gets the maximum area that SAO takes into account when checking for possible occlusion for each fragment.
Default value is 100.0
.
Sets the maximum area that SAO takes into account when checking for possible occlusion for each fragment.
Default value is 100.0
.
Gets the SAO minimum resolution.
Default value is 0.0
.
Sets the SAO minimum resolution.
Default value is 0.0
.
Gets the number of SAO samples.
Default value is 10
.
Sets the number of SAO samples.
Default value is 10
.
Update this sparingly, since it causes a shader recompile.
Gets which rendering modes in which to apply SAO.
The View will apply SAO whenever View.renderMode has been set one of these values.
Default value is [QualityRender].
Sets which rendering modes in which to apply SAO.
The View will apply SAO whenever View.renderMode has been set one of these values.
Default value is [QualityRender].
Gets the SAO occlusion scale.
Default value is 1.0
.
Sets the SAO occlusion scale.
Default value is 1.0
.
Gets whether SAO is supported by this browser and GPU.
Even when enabled, SAO will only work if supported.
Protected
cleanProtected
cleanProtected
errorProtected
logProtected
setProtected
warnEmits an event when the Component has been destroyed.
Configures Scalable Ambient Obscurance (SAO) for a View.
See @xeokit/sdk/viewer for usage info.