Skip to main content

WebGL API

NovoRender.ScreenSpaceAmbientOcclusionParams

Screen space ambient occlusion post effect.

Remarks

This post effect is intended to be applied over several frames of an unchanging view, i.e. when the camera stops moving and the scene is fully resolved. Ambient occlusion is a shadowing effect that makes geometry easier to visually interpret and more pleasing to the eye. This effect can be quite demanding on weaker devices, so use over several frames with care to avoid stuttering when view changes.

Properties​

kind​

• Readonly kind: "ssao"

Post effect kind/discriminator.


radius​

• Readonly radius: number

Neighborhood sampling radius in # pixels.


reset​

• Optional Readonly reset: boolean

Flag to reset accumulation of images, e.g. after the view changed.


samples​

• Readonly samples: number

of samples per pixel.


skipOpacity​

• Optional Readonly skipOpacity: boolean

Whether to ignore transparent pixels or not.