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
inputColor
Node<"vec4">
Base color (vec4)
uv
Node<"vec2">
UV coordinates
time
Animation time
angle
FloatInput = 0.785
Shimmer angle in radians (default: 0.785 = 45°)
speed
FloatInput = 1
Animation speed (default: 1)
intensity
FloatInput = 0.5
Shimmer brightness (default: 0.5)
shimmerColor
Vec3Input = ...
Color of the shimmer highlight
width
FloatInput = 0.1
Width of shimmer band (default: 0.1)
Returns
Node<"vec4">
Color with shimmer effect
Example
const shiny = shimmer(inputColor, uv, time, Math.PI/4, 1, 0.5, [1, 1, 1])