LuciadRIA (2026.0.07)
    Preparing search index...

    A BloomEffect allows you to configure the bloom effect of shapes styled with a BloomStyle.

    Bloom is a way to convey intense brightness to the viewer by adding a glow to the bright object. The light then bleeds around these bright areas. This creates the illusion that they are intensely bright. This effect can greatly add to the perceived realism of a scene. It can also for example be used to draw focus to certain shapes.

    Bloom
    Left: Using a color to highlight an area, Right: Using bloom to highlight an area

    The BloomEffect uses 2 properties:

    • the strength property defines how intense the bloom should be.
    • the radius property determines whether the bloom is more focused (values close to 0) or more spread out (values close to 1).

    Example

      map.effects.bloom = {
    strength: 3,
    radius: 0
    };

    2022.1

    interface BloomEffect {
        radius?: number;
        strength?: number;
    }

    Properties

    Properties

    radius?: number

    The radius is a value between 0 and 1, inclusive, that determines how focused or spread out the bloom effect should be. Lower values produce a more concentrated bloom. Higher values produce a more diffuse bloom.

    <code>0.5</code>
    
    strength?: number

    The strength is a non-negative number to make the bloom effect more or less pronounced.

    <code>1</code>