Hilo3d API - v2.0.0-alpha.8
    Preparing search index...

    Interface GroundTruthAmbientOcclusionOptions

    Production controls for ground-truth ambient occlusion.

    interface GroundTruthAmbientOcclusionOptions {
        bentNormalStrength?: number;
        bias?: number;
        contactRadiusScale?: number;
        contactStrength?: number;
        depthThreshold?: number;
        directionCount?: 2 | 3 | 4 | 8 | 6;
        distanceFadeEnd?: number;
        distanceFadeStart?: number;
        edgeFadePixels?: number;
        falloffStart?: number;
        geometricNormalWeight?: number;
        historyWeight?: number;
        intensity?: number;
        multiBounce?: number;
        normalSource?: GroundTruthAmbientOcclusionNormalSource;
        normalThreshold?: number;
        power?: number;
        quality?: GroundTruthAmbientOcclusionQuality;
        radius?: number;
        resolutionScale?: number;
        stepCount?: 3 | 4 | 8 | 5 | 6 | 10 | 12;
        thickness?: number;
        thicknessBlend?: number;
    }
    Index
    bentNormalStrength?: number

    Strength of bent-normal redirection. Defaults to 1.

    bias?: number

    Angular self-occlusion bias in radians. Defaults to 0.035.

    contactRadiusScale?: number

    Radius of the additional contact-occlusion lobe, relative to radius. Defaults to 0.2.

    contactStrength?: number

    Strength of the contact-occlusion lobe. Defaults to 0.35.

    depthThreshold?: number

    Maximum relative reprojected view-depth error. Defaults to 0.03.

    directionCount?: 2 | 3 | 4 | 8 | 6

    Number of rotated horizon slices per pixel. Defaults to the quality preset.

    distanceFadeEnd?: number

    View distance where AO is fully disabled. Defaults to 200.

    distanceFadeStart?: number

    View distance where AO starts fading. Defaults to 100.

    edgeFadePixels?: number

    Screen-edge fade width in AO pixels. Defaults to 2.

    falloffStart?: number

    Fraction of the radius at which distance falloff begins. Defaults to 0.6.

    geometricNormalWeight?: number

    Geometric-normal contribution in hybrid mode. Defaults to 0.65.

    historyWeight?: number

    Maximum accepted temporal contribution. Defaults to 0.9.

    intensity?: number

    Occlusion intensity before contrast. Defaults to 1.

    multiBounce?: number

    Strength of color-aware multi-bounce diffuse AO. Defaults to 1.

    Normal source used by the horizon search. Defaults to hybrid.

    normalThreshold?: number

    Minimum normal agreement accepted by temporal reprojection. Defaults to 0.82.

    power?: number

    Contrast applied to the physically normalized visibility. Defaults to 1.2.

    Sampling preset. Individual resolution/direction/step controls override it. Defaults to high.

    radius?: number

    View-space horizon-search radius. Defaults to 2.

    resolutionScale?: number

    Internal AO resolution relative to opaque rendering. Defaults to the quality preset.

    stepCount?: 3 | 4 | 8 | 5 | 6 | 10 | 12

    Samples evaluated on each side of a horizon slice. Defaults to the quality preset.

    thickness?: number

    View-space self-intersection rejection distance. Defaults to 0.05.

    thicknessBlend?: number

    Blend between a thin depth field and a solid occluder. Defaults to 0.5.