Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

BloomProps

Property Type Default value Description
intensity? number 0.6 How bright the glow is.
knee? number undefined A soft knee about the threshold, in the threshold’s units, as Unity’s, Unreal’s and Luminati’s: a pixel starts to glow knee under the threshold, on a quadratic, and from knee over it glows by all it holds over the threshold. 0 is a hard step. Unity gives its knee as a share of the threshold. Left out, the narrow smoothing of the postprocessing library over the threshold.
maxBrightness? number undefined The most a pixel counts for, by its thresholdMeasure, its colour scaled whole so its hue holds, so one over-bright sparkle never floods the frame: Godot’s glow luminance cap, Unity’s clamp. Left out, none.
radius? number 0.7 How far the glow spreads, 0 to 1.
threshold? number 0.85 The brightness a pixel must pass to glow, 0 or more, by its thresholdMeasure: over 1, only light the frame holds above white before its tone mapping, such as an emissive lamp.
thresholdMeasure? "luminance" | "brightest-channel" | BloomThresholdMeasure BloomThresholdMeasure.Luminance What a pixel’s brightness is read as.
tint? ColorRepresentation undefined The glow’s colour at its tightest. Left out, white.
wideTint? ColorRepresentation undefined The glow’s colour at its widest, blended from tint level by level, as Unreal’s tint per level: a warmer one draws a lens’s long amber glow. Left out, tint.