bloom
bloom(
inputColor,bloomTex,uv,intensity?,tint?):Node<"vec4">
Defined in: packages/nodes/src/blur/bloom.ts:63
Apply bloom effect using pre-blurred bright texture.
Parameters
Section titled “Parameters”inputColor
Section titled “inputColor”Node <"vec4">
Original scene color
bloomTex
Section titled “bloomTex”Pre-extracted and blurred bloom texture
Node <"vec2">
UV coordinates
intensity?
Section titled “intensity?”FloatInput = 1
Bloom intensity (default: 1)
Vec3Input = ...
Bloom color tint (default: white)
Returns
Section titled “Returns”Node <"vec4">
Color with bloom applied
Example
Section titled “Example”const final = bloom(sceneColor, bloomBlurredTexture, uv, 1.2, [1, 0.95, 0.9])