Skip to content

sparkleStar

sparkleStar(inputColor, uv, time, density, intensity, sparkleColor): Node<"vec4">

Defined in: packages/nodes/src/vfx/sparkle.ts:90

Animated star sparkle with 4-point star shape.

Parameters

inputColor

Node<"vec4">

Base color

uv

Node<"vec2">

UV coordinates

time

FloatInput

Animation time

density

FloatInput = 30

Sparkle density

intensity

FloatInput = 1.5

Sparkle brightness

sparkleColor

Vec3Input = ...

Color of sparkles

Returns

Node<"vec4">

Color with star sparkle effect