Engine API Reference - v2.23.0-beta.17
    Preparing search index...

    Interface Bloom

    Properties related to the HDR bloom effect, a postprocessing technique that simulates the natural glow of bright light sources by spreading their intensity beyond their boundaries, creating a soft and realistic blooming effect.

    interface Bloom {
        blurLevel: number;
        intensity: number;
        threshold: number;
    }
    Index
    blurLevel: number

    The number of iterations for blurring the bloom effect, with each level doubling the blur size. Once the blur size matches the dimensions of the render target, further blur passes are skipped. The default value is 16.

    intensity: number

    The intensity of the bloom effect, 0-0.1 range. Defaults to 0, making it disabled.

    threshold: number

    The brightness below which the scene does not contribute to bloom. Zero, the default, blooms the whole scene, which is the physically based behaviour; raising it restricts the glow to the brightest parts, with a soft transition below the threshold. The value is in the scene-referred units the scene is rendered in, before the exposure and tone mapping applied when the bloom is composited, so a scene lit for an exposure far from 1 needs the threshold scaled to match.