Skip to content

glowSelective

glowSelective(inputColor, targetColor, glowColor, tolerance, intensity): Node<"vec4">

Defined in: packages/nodes/src/blur/bloom.ts:90

Selective glow based on color matching. Only applies glow to pixels matching a specific color.

Parameters

inputColor

Node<"vec4">

Input color

targetColor

Vec3Input

Color to glow

glowColor

Vec3Input = ...

Color of the glow

tolerance

FloatInput = 0.2

Color matching tolerance (default: 0.2)

intensity

FloatInput = 1

Glow intensity

Returns

Node<"vec4">

Color with selective glow