Usage
Parameters
string
default:"'#000000'"
Background color in hex format. Visible outside the gradient radius.
string[]
default:"['#00bbff', '#00ffe1', '#ffffff']"
Array of gradient colors in hex format. Supports up to 10 colors. Colors radiate from the focal point outward.
number
default:"0.8"
Size of the radial shape (0 to 3). Controls the overall size of the gradient.
number
default:"0.99"
Distance of the focal point from center (0 to 3). 0 creates a centered radial, higher values shift the focal point.
number
default:"0"
Angle of the focal point in degrees (0 to 360). Effective when focalDistance > 0.
number
default:"0.24"
Gradient decay rate (-1 to 1). 0 = linear gradient, positive values create faster falloff, negative creates slower falloff.
number
default:"0.5"
Blending behavior between colors (0 to 1). 0 = hard stripes, 1 = smooth gradient.
number
default:"0"
Strength of radial distortion pattern (0 to 1). Creates wave-like ripples in the gradient.
number
default:"0"
Radial distortion offset (-1 to 1). Effective when distortion > 0. Shifts the distortion pattern.
number
default:"12"
Radial distortion frequency (0 to 20). Effective when distortion > 0. Controls the number of waves.
number
default:"0"
Strength of grain distortion applied to shape edges (0 to 1).
number
default:"0"
Post-processing black/white grain overlay (0 to 1).
number
default:"0"
Animation speed multiplier. Default is 0 for static appearance.
Common Sizing Parameters
'none' | 'contain' | 'cover'
default:"'cover'"
How to fit the shader into the canvas dimensions.
number
default:"1"
Overall zoom level (0.01 to 4).
number
default:"0"
Rotation angle in degrees (0 to 360).
Presets
Default
Lo-Fi
Cross Section
Radial
Technical Details
- Max Colors: 10
- Animation: Designed for static use (speed=0 by default)
- Focal Point: Ray-tracing algorithm for accurate focal point rendering
- Distortion: Sine/cosine wave patterns at variable frequencies
- Blending: Advanced mixing modes with power curve adjustments
- Coordinates: Uses object UV coordinates scaled by 2
