Back to Skills

shader-dev

Comprehensive GLSL shader techniques for creating stunning visual effects — ray marching, SDF modeling, fluid simulation, particle systems, procedural generation, lighting, post-processing, and more.

12,922stars1,112forksUpdated 7/4/2026

Security Assessment

Medium Risk(50/100)

Detected risks:

Persistence([techniques/particle-system.md] launchD)
Security Score50/100

About shader-dev

Shader Craft is a unified GLSL skill that gathers 36 real-time graphics techniques into a single routed reference for building visual effects. The shaders are ShaderToy-compatible, and the skill can also emit standalone HTML pages by applying its WebGL2 adaptation rules. It is meant for work that ranges from a single raymarched scene with soft shadows to fluid simulations, particle systems, procedural textures, and full post-processing chains. Invocation is /shader-dev followed by a request describing the desired effect.

The material is organized so that a request is matched against a Technique Routing Table, which maps intents such as 3D objects from math, organic warped shapes, fluid or smoke, ocean surfaces, terrain, volumetric clouds, fractals, or kaleidoscopes to one primary technique and a set of techniques to combine with it. Each entry in the techniques directory carries core principles, implementation steps, and complete code templates, while a parallel reference directory holds math derivations and advanced patterns for deeper study. The techniques are grouped into families: Geometry and SDF (2D and 3D signed distance functions, CSG boolean operations, domain repetition and warping, SDF tricks); Ray Casting and Lighting (sphere-traced ray marching, analytic ray tracing, path-traced global illumination, Phong and PBR lighting, hard and soft shadows, ambient occlusion, normal estimation); Simulation and Physics (Navier-Stokes fluids, springs and cloth, particle systems, cellular automata); Natural Phenomena (Gerstner and FFT water, heightfield terrain, Rayleigh and Mie atmospheric scattering, volumetric rendering); and Procedural Generation (Perlin and Simplex noise and FBM, among others).

The intended flow is to read the routing table, open the matching technique files, follow reference links only when deeper theory is needed, and apply the WebGL2 rules when producing a self-contained page. Reach for it when creating math-driven 3D scenes, procedural patterns, simulations, or stylized post-processing in GLSL.

FAQ

How is the skill invoked?

With /shader-dev followed by a request, for example asking for a raymarched SDF scene with soft shadows.

Are the shaders compatible with ShaderToy?

Yes, the techniques are ShaderToy-compatible, and the skill can also generate standalone HTML pages using its WebGL2 adaptation rules.

How many techniques are covered?

36 GLSL techniques, spanning geometry and SDF, ray casting and lighting, simulation and physics, natural phenomena, and procedural generation.

How do you find the right technique for an effect?

Consult the Technique Routing Table, which maps a described effect to a primary technique and suggested techniques to combine with it.

Where are the math derivations and advanced patterns?

In a parallel reference directory, linked at the bottom of each technique file for when deeper understanding is needed.

All Files

75 files
techniques/normal-estimation.md9.1 KB
View
techniques/terrain-rendering.md14.3 KB
View
reference/water-ocean.md20.1 KB
View
techniques/analytic-ray-tracing.md18.8 KB
View
techniques/fractal-rendering.md13.0 KB
View
techniques/procedural-noise.md16.9 KB
View
techniques/sdf-tricks.md3.4 KB
View
techniques/water-ocean.md17.8 KB
View
techniques/cellular-automata.md19.0 KB
View
techniques/matrix-transform.md12.4 KB
View
techniques/ray-marching.md13.7 KB
View
techniques/simulation-physics.md56.1 KB
View
techniques/multipass-buffer.md33.4 KB
View
techniques/sound-synthesis.md17.2 KB
View
reference/csg-boolean-operations.md17.5 KB
View
reference/path-tracing-gi.md27.5 KB
View
reference/simulation-physics.md27.5 KB
View
techniques/atmospheric-scattering.md18.1 KB
View
reference/cellular-automata.md26.6 KB
View
reference/normal-estimation.md17.0 KB
View
reference/sdf-tricks.md2.6 KB
View
reference/voxel-rendering.md29.2 KB
View
reference/domain-repetition.md17.7 KB
View
reference/polar-uv-manipulation.md22.6 KB
View
reference/sound-synthesis.md23.6 KB
View
techniques/camera-effects.md3.4 KB
View
reference/domain-warping.md16.6 KB
View
reference/post-processing.md23.8 KB
View
reference/terrain-rendering.md32.1 KB
View
reference/ambient-occlusion.md14.4 KB
View
reference/fluid-simulation.md18.5 KB
View
reference/procedural-2d-pattern.md16.3 KB
View
reference/texture-mapping-advanced.md3.3 KB
View
techniques/color-palette.md12.8 KB
View
techniques/particle-system.md44.5 KB
View
techniques/texture-sampling.md13.0 KB
View
reference/camera-effects.md3.0 KB
View
reference/multipass-buffer.md24.7 KB
View
reference/sdf-3d.md26.8 KB
View
techniques/ambient-occlusion.md11.1 KB
View
techniques/fluid-simulation.md46.4 KB
View
techniques/procedural-2d-pattern.md10.7 KB
View
techniques/voronoi-cellular-noise.md13.0 KB
View
reference/anti-aliasing.md2.9 KB
View
reference/lighting-model.md29.4 KB
View
reference/ray-marching.md15.5 KB
View
reference/volumetric-rendering.md28.0 KB
View
reference/webgl-pitfalls.md1.9 KB
View
techniques/domain-repetition.md9.7 KB
View
techniques/polar-uv-manipulation.md13.2 KB
View
techniques/sdf-3d.md21.6 KB
View
techniques/voxel-rendering.md45.1 KB
View
reference/color-palette.md19.9 KB
View
reference/particle-system.md28.2 KB
View
reference/shadow-techniques.md21.0 KB
View
techniques/anti-aliasing.md4.5 KB
View
techniques/lighting-model.md17.1 KB
View
techniques/shadow-techniques.md24.8 KB
View
techniques/webgl-pitfalls.md5.4 KB
View
reference/atmospheric-scattering.md27.4 KB
View
reference/matrix-transform.md18.4 KB
View
reference/sdf-2d.md27.5 KB
View
reference/voronoi-cellular-noise.md17.5 KB
View
SKILL.md16.3 KB
View
techniques/domain-warping.md12.5 KB
View
techniques/post-processing.md30.2 KB
View
techniques/volumetric-rendering.md12.3 KB
View
reference/analytic-ray-tracing.md24.0 KB
View
reference/fractal-rendering.md18.1 KB
View
reference/procedural-noise.md21.7 KB
View
reference/texture-sampling.md25.6 KB
View
techniques/csg-boolean-operations.md14.9 KB
View
techniques/path-tracing-gi.md21.5 KB
View
techniques/sdf-2d.md21.2 KB
View
techniques/texture-mapping-advanced.md4.3 KB
View

Install shader-dev

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill