shimmer
shimmer(
inputColor,uv,time,angle?,speed?,intensity?,shimmerColor?,width?):Node<"vec4">
Defined in: packages/nodes/src/vfx/shimmer.ts:22
Add shimmer/shine effect - a moving highlight across the surface. Creates a metallic or glossy appearance.
Parameters
Section titled “Parameters”inputColor
Section titled “inputColor”Node <"vec4">
Base color (vec4)
Node <"vec2">
UV coordinates
Animation time
angle?
Section titled “angle?”FloatInput = 0.785
Shimmer angle in radians (default: 0.785 = 45°)
speed?
Section titled “speed?”FloatInput = 1
Animation speed (default: 1)
intensity?
Section titled “intensity?”FloatInput = 0.5
Shimmer brightness (default: 0.5)
shimmerColor?
Section titled “shimmerColor?”Vec3Input = ...
Color of the shimmer highlight
width?
Section titled “width?”FloatInput = 0.1
Width of shimmer band (default: 0.1)
Returns
Section titled “Returns”Node <"vec4">
Color with shimmer effect
Example
Section titled “Example”const shiny = shimmer(inputColor, uv, time, Math.PI/4, 1, 0.5, [1, 1, 1])