LuciadRIA (2026.0.07)
    Preparing search index...

    An AmbientOcclusionEffect allows you to apply the effect of ambient occlusion on a 3D map.

    Ambient occlusion is an effect that shades areas of 3D geometry based on their proximity to other 3D geometry. This mimics a behavior of the real world where light gets trapped in tight areas. Typical examples are the corners of a room, which are slightly darker than the rest of the room as the light is trapped in the corners.

    Ambient Occlusion
    Left: ambient occlusion disabled, Right: ambient occlusion enabled

    Ambient Occlusion is recommended for cases in which 3D datasets with simple colors, such as 3D CAD & BIM models, are visualized. For these types of datasets, Ambient Occlusion can help give the dataset more depth and make it easier to understand how geometry relates to each other. On top of that, it also improves the visual quality of such datasets, and gives an overall better impression.

    Ambient Occlusion only has an effect on 3D maps. It has no effect on transparent data.

      map.effects.ambientOcclusion = {
    radius: 25,
    power: 1.5
    }

    2019.0

    interface AmbientOcclusionEffect {
        performanceHint?: PerformanceHint;
        power?: number;
        radius?: number;
    }

    Properties

    performanceHint?: PerformanceHint

    An indicator that defines whether the system should prioritize visual quality or overall performance. Depending on the client’s GPU capabilities, you may want to favor higher visual detail or opt for faster, more responsive rendering.

    PerformanceHint.PREFER_PERFORMANCE
    

    2026.0.05

    power?: number

    A factor to brighten or darken the effect. It determines how strongly the effect is applied to your view. A lower value results in a more subtle effect, while a higher value produces more defined results. It does not affect the radius.

    Values should be a positive floating point number, generally between 0 and 5. Higher values are accepted, but not recommended.

    1
    
    radius?: number

    The radius in meters around a location at which the effect should be evaluated to determine whether it should be darkened. When the scene contains large objects, for example when viewing a city with streets and buildings, a radius of e.g. 30 m may be appropriate. When viewing objects with finer details, e.g. inside a factory with machinery, pipes, etc., a small radius of e.g. 0.12 m may be appropriate.

    30