Skip to content

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.

Node <"vec4">

Original scene color

Texture 

Pre-extracted and blurred bloom texture

Node <"vec2">

UV coordinates

FloatInput = 1

Bloom intensity (default: 1)

Vec3Input = ...

Bloom color tint (default: white)

Node <"vec4">

Color with bloom applied

const final = bloom(sceneColor, bloomBlurredTexture, uv, 1.2, [1, 0.95, 0.9])