Illutions Engine API - v0.26.0
    Preparing search index...

    Interface SsaoWebGpuCfg

    Defines the WebGPU screen-space ambient occlusion settings.

    interface SsaoWebGpuCfg {
        distanceExponent: number;
        distanceFallOff: number;
        radius: number;
        resolutionScale: number;
        samples: number;
        scale: number;
        thickness: number;
    }
    Index
    distanceExponent: number

    Controls how strongly the AO is attenuated over distance.

    1
    
    distanceFallOff: number

    Defines how quickly the AO fades with distance.

    1
    
    radius: number

    Defines the radius of the ambient occlusion in world space.

    0.25
    
    resolutionScale: number

    Defines the render resolution scale of the AO effect.

    1
    
    samples: number

    Defines the number of samples used to compute the AO.

    16
    
    scale: number

    Scales the strength of the ambient occlusion.

    1
    
    thickness: number

    Defines the thickness used for the ambient occlusion calculation.

    1