bloom

A glow: the child's bright parts spread into a soft halo that adds back on top.

bloom(opts: {intensity: PropRef; threshold: PropRef; size: PropRef}): ComputeBackedEffect

Import effects from shaders/std and use effects.blurs.bloom.

Pixels brighter than threshold (0–1) glow. size is the halo's spread in pixels (clean up to about 72). intensity (0–50) is how bright the halo is. The halo reaches past the child's alpha, so a glowing shape lights up transparent space around it. At size 0 nothing runs; give the size prop recompile: crosses(0).

Parameters

NameTypeNotes
opts{intensity: PropRef; threshold: PropRef; size: PropRef}

Example

...bloom({intensity: p('intensity'), threshold: p('threshold'), size: p('size')})

See also

  • screenedBloom — A tinted glow of the child's bright parts, screened over a color you have already graded: film halation, phosphor bloom.
  • gaussianBlur — A soft, even blur of the child.
  • bokehDefocus — A photographic lens blur where bright highlights bloom into aperture-shaped discs.

Used by

Glow