Skip to main content
props
object
Configuration options for the shader.

Support

Usage

Solid color shader

Gradient shader

Animated shader

With custom uniforms

Interactive shader

Notes

  • Shaders use WebGL and follow the Shadertoy convention. Built-in uniforms include iResolution (viewport size), iTime (elapsed time when timeEnabled is true), and iMouse (pointer position when mouseEnabled is true).
  • The Shader component is web-only. On iOS and Android, it will not render.
  • For best performance, keep shader complexity low and use updateInterval to throttle redraws when frame-perfect animation is not needed.

See Also

  • Rectangle — simple filled rectangle
  • Path — custom vector shapes