Engine API Reference - v2.7.4
    Preparing search index...

    Interface Ssao

    Properties related to the Screen Space Ambient Occlusion (SSAO) effect, a postprocessing technique that approximates ambient occlusion by calculating how exposed each point in the screen space is to ambient light, enhancing depth perception and adding subtle shadowing in crevices and between objects.

    interface Ssao {
        blurEnabled: boolean;
        intensity: number;
        minAngle: number;
        power: number;
        radius: number;
        randomize: boolean;
        samples: number;
        scale: number;
        type: string;
    }
    Index

    Properties

    blurEnabled: boolean

    Whether the SSAO effect is blurred. Defaults to true.

    intensity: number

    The intensity of the SSAO effect, 0-1 range. Defaults to 0.5.

    minAngle: number

    The minimum angle of the SSAO effect, 1-90 range. Defaults to 10.

    power: number

    The power of the SSAO effect, 0.1-10 range. Defaults to 6.

    radius: number

    The radius of the SSAO effect, 0-100 range. Defaults to 30.

    randomize: boolean

    Whether the SSAO sampling is randomized. Useful when used instead of blur effect together with TAA. Defaults to false.

    samples: number

    The number of samples of the SSAO effect, 1-64 range. Defaults to 12.

    scale: number

    The scale of the SSAO effect, 0.5-1 range. Defaults to 1.

    type: string

    The type of the SSAO determines how it is applied in the rendering process. Defaults to SSAOTYPE_NONE. Can be: