flashAlpha
flashAlpha(
inputColor,progress,flashColor,alphaFlash):Node<"vec4">
Defined in: packages/nodes/src/vfx/flash.ts:104
Flash that affects alpha as well (sprite becomes visible/invisible).
Parameters
inputColor
Node<"vec4">
Base color
progress
Flash progress
flashColor
Vec3Input = ...
Color of flash
alphaFlash
FloatInput = 0.5
How much to affect alpha (0 = none, 1 = fully visible at flash)
Returns
Node<"vec4">
Color with alpha flash