flashSmooth
flashSmooth(
inputColor,progress,flashColor?,peakTime?,intensity?):Node<"vec4">
Defined in: packages/nodes/src/vfx/flash.ts:47
Flash with smooth in and out transition.
Parameters
Section titled “Parameters”inputColor
Section titled “inputColor”Node <"vec4">
Base color
progress
Section titled “progress”Flash progress (0-1)
flashColor?
Section titled “flashColor?”Vec3Input = ...
Color of flash
peakTime?
Section titled “peakTime?”FloatInput = 0.2
When flash is brightest (0-1, default: 0.2)
intensity?
Section titled “intensity?”FloatInput = 1
Peak intensity
Returns
Section titled “Returns”Node <"vec4">
Color with smooth flash