Skip to content

flashSmooth(inputColor, progress, flashColor?, peakTime?, intensity?): Node <"vec4">

Defined in: packages/nodes/src/vfx/flash.ts:47

Flash with smooth in and out transition.

Node <"vec4">

Base color

FloatInput

Flash progress (0-1)

Vec3Input = ...

Color of flash

FloatInput = 0.2

When flash is brightest (0-1, default: 0.2)

FloatInput = 1

Peak intensity

Node <"vec4">

Color with smooth flash