rullino
    Preparing search index...

    Variable bloomConst

    bloom: MultipassFilter<
        {
            intensity: {
                default: 0.6;
                description: "How strong the glow is when added back.";
                label: "Intensity";
                max: 2;
                min: 0;
                step: 0.01;
                type: "float";
            };
            sigma: {
                default: 12;
                description: "How far the glow spreads, in pixels.";
                label: "Radius σ (px)";
                max: 60;
                min: 0.5;
                step: 0.5;
                type: "float";
                unit: "px";
            };
            threshold: {
                default: 0.7;
                description: "Only light brighter than this glows (in linear light, so 1 is white).";
                label: "Threshold";
                max: 2;
                min: 0;
                step: 0.01;
                type: "float";
            };
        },
    > = ...

    Glow around bright areas: the parts brighter than threshold (linear luminance of the premultiplied colour, soft knee ±0.1) are blurred with σ and added back as light, × intensity. Works on linear light, so HDR highlights bloom more; alpha grows with the glow, up to 1.