Skip to main content

BloomEffectOptions

Index

Properties

graphicsContext

optionalintensity

intensity?: number

Multiplies the bloom light added on top of the original image, default 1.

1 is the neutral amount, values above 1 read as hotter, values below 1 are subtle.

optionallevels

levels?: number

Depth of the downsample/upsample ladder, default 4.

Each level halves the resolution, more levels produce a wider, softer bloom for the same cost profile. Clamped to at least 1.

optionalthreshold

threshold?: number

Luminance cutoff (0-1) above which pixels contribute to the bloom, default 0.8