Skip to main content
skill CX Codex

shadertoy — Claude Code skill: what it does, how to install

Provides GLSL ES conventions and math patterns for writing Shadertoy shaders. Useful when building WebGL visuals, generative art, or ray marching scenes.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add bfollington/terma --skill shadertoy -a claude-code
Open on GitHub

What shadertoy does

The skill supplies GLSL ES syntax rules and Shadertoy environment variables like iResolution, iTime, and texture channels iChannel0 through iChannel3. It centers shader generation around the standard mainImage entry point and normalized coordinate setups.

It provides standard building blocks for procedural graphics: cosine color palettes, 2D pseudo-random hash functions, coordinate rotations, and sphere-tracing ray marchers with surface normal calculations. It also covers multi-pass buffer setups for temporal blending.

WebGL compilation will fail if shaders break strict GLSL ES rules: floating-point numbers cannot have an f suffix, saturate() must be replaced with clamp(), and functions like sqrt or pow need protected non-negative inputs.

What it helps with

  • generate mainImage shader scaffolding with centered UV coordinates
  • implement ray marching loops for 3D procedural geometries
  • create cosine-based color palettes and noise functions in GLSL
  • set up multi-pass rendering buffers with temporal feedback
  • fix WebGL compilation errors caused by desktop GLSL habits

Example prompts for the agent

  • Write a Shadertoy shader using ray marching to render an animated sphere.
  • Generate a cosine color palette with a smooth animated gradient.
  • Set up a two-pass shader buffer pipeline with temporal blending.

How to install shadertoy

1Skills CLI (Vercel)

npx skills add bfollington/terma --skill shadertoy -a claude-code

2Manually: put the files in place

~/.claude/skills/shadertoy/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/shadertoy/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about shadertoy

How to install shadertoy in Claude Code?

Run npx skills add bfollington/terma --skill shadertoy -a claude-code in your terminal.

What does the shadertoy skill do?

It provides GLSL ES guidelines, Shadertoy input references, and real-time graphics formulas for generating WebGL fragment shaders.

Which GLSL ES syntax issues does this skill address?

It prevents invalid f float suffixes, substitutes saturate() with clamp(), and enforces guards against negative values in sqrt or pow.

Similar skills

Everything for Game dev and 3D: Unity, Unreal, Godot, Blender →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor