🚧 ShaderBot is currently in beta. Some features may evolve.
🎓 200+ live examples · Step-by-step tutorials · Free

Learn GLSL shader programming with 200+ live examples

The fastest way to go from zero to writing real fragment shaders. Every preset is fully commented and editable. No local setup needed.

Who it's for

🧑‍💻

Computer Graphics Students

200+ interactive examples covering fundamental concepts — from SDFs to ray marching, noise to PBR materials. Every line commented and explained.

📚

Self-Taught Developers

Learn at your own pace. Edit any example live, see the effect immediately. Use the AI generator to explain unfamiliar GLSL code.

🏫

Educators & Instructors

Share examples directly from Discord. Create interactive exercises for your class. Class mode with progress tracking coming soon.

Resource Library

41 hand-picked resources — tutorials, tools, communities

🖼 The Book of Shaders

Step-by-step guide to fragment shaders — the most referenced GLSL learning resource. Open source.

Beginner
🖼 Inigo Quilez — Articles & Tutorials

SDFs, ray marching, soft shadows, color palettes — the bible of advanced GLSL techniques by Shadertoy's co-creator.

Advanced
An Introduction to Shader Art Coding — kishimisu

The most-watched beginner tutorial for shader art on Shadertoy. Hundreds of thousands of views.

Beginner
The Art of Code — YouTube Channel

Friendly GLSL tutorials: ray marching, fractals, game effects — excellent for beginners.

Beginner
Freya Holmér — Math for Game Devs

Vectors, interpolation, Bezier curves, signed distances — beautifully animated math for shaders.

Beginner
Value Noise Derivatives — kishimisu

Deep dive into value noise, fbm and domain warping in GLSL.

Intermediate
Shadertoy Tutorials — Inigo Quilez

Live coding sessions and explanations of advanced ray marching, SDF operations and rendering.

Advanced
WebGL Fundamentals — Video Series

Browser-level WebGL: buffers, shaders, textures — useful for understanding the pipeline.

Intermediate
🖼 Shadertoy — Learn (official tutorials)

Official Shadertoy shader tutorials — uniforms, ray marching, noise, directly runnable.

Beginner
🔧 GLSL Sandbox

Live GLSL editor in the browser — instant feedback, huge public shader gallery.

Beginner
🔧 Shadertoy

The premier online GLSL editor and community. Thousands of shared shaders with source code.

Beginner
🖼 WebGL Fundamentals

Exhaustive written guide to raw WebGL — vertices, textures, transforms, lighting.

Beginner
🖼 The Coding Train — Shaders

Beginner-friendly p5.js + GLSL shader tutorials by Daniel Shiffman.

Beginner
🖼 Inigo Quilez — Distance Functions

The definitive reference for 3D SDF primitives, boolean ops, smooth blending and domain deformation.

Intermediate
🖼 Inigo Quilez — Palettes

Cosine-based color palettes — generate infinite smooth color ramps with 4 vec3 parameters.

Intermediate
🖼 Patricio Gonzalez Vivo — Generative Design

Fractal Brownian Motion chapter from The Book of Shaders — fbm, domain warping, layered noise.

Intermediate
🖼 3D Ray Marching guide — Jamie Wong

Clear step-by-step explanation of ray marching with signed distance functions — diagrams and GLSL code.

Intermediate
🖼 Noise in GLSL — patriciogv

Value noise, smoothstep noise, Voronoi — from The Book of Shaders.

Intermediate
🖼 Path Tracing in One Weekend (GPU port)

The classic path tracing tutorial series — easily portable to GLSL fragment shaders.

Advanced
🖼 Inigo Quilez — Smooth Min

Polynomial, exponential and power smooth minimum functions for SDF blending.

Advanced
🖼 Rendering Worlds With Two Triangles — rgba

The seminal 2008 demoscene paper introducing full-screen ray marching with GLSL.

Advanced
🖼 Ambient Occlusion in GLSL — IQ

Cheap analytical AO using distance field gradients. Short and high-impact.

Advanced
🖼 Soft Shadows — Inigo Quilez

Soft shadow technique for ray-marched scenes using SDF minimum distance along the ray.

Advanced
📐 3Blue1Brown — Essence of Linear Algebra

Visual intuition for dot products, cross products, matrix transforms — essential shader math.

Beginner
📐 Immersive Linear Algebra

Interactive linear algebra textbook with live figures — vectors, matrices, determinants.

Beginner
📐 Math for Shaders — Alan Zucconi

Gentle introduction to the math underlying fragment shaders — targeting Unity but universal.

Beginner
📐 Trigonometry for Game Programming

Khan Academy trigonometry — sin, cos, atan2: the backbone of GLSL animations.

Beginner
📐 Inigo Quilez — Numerical Methods

Tetrahedron trick for SDF normals — 4 samples instead of 6, no ugly conditionals.

Advanced
WebGPU Fundamentals

The definitive beginner guide to WebGPU and WGSL — same author as WebGL Fundamentals.

Beginner
WGSL Spec (W3C)

Official W3C WGSL specification — authoritative reference for all built-in functions, types and attributes.

Advanced
Your First WebGPU App (Google)

Google's official codelab — build a Game of Life cellular automaton with compute shaders and WGSL.

Beginner
Awesome WebGPU

Curated list of WebGPU + WGSL resources, demos, engines and research papers.

Intermediate
🔧 Shadertoy — Explore

Browse the most popular Shadertoy shaders — study source code of anything from simple gradients to full ray tracers.

Beginner
🔧 GLSL Vim / VS Code syntax highlighting

GLSL and HLSL syntax highlighting extension for VS Code.

Beginner
🔧 RenderDoc

Open-source graphics debugger — inspect draw calls, textures, shader inputs/outputs.

Intermediate
🔧 Lygia Shader Library

Modular, multi-language shader library (GLSL/HLSL/WGSL/MSL) — noise, SDF, filters, color and more.

Intermediate
🔧 glsl-canvas VSCode extension

Live-preview GLSL shaders directly in VS Code with Shadertoy uniform support.

Beginner
💬 r/GraphicsProgramming

Active subreddit for graphics programming — questions, shader breakdowns, GPU research articles.

Beginner
💬 Shadertoy Discord Server

Official Shadertoy community Discord — share your shaders, get feedback, discuss techniques.

Beginner
💬 Graphics Programming Discord

Large Discord server for GPU programming, rendering code, shader techniques and real-time graphics.

Intermediate
💬 Demoscene resources (Shadertoy compos)

Pouet.net — archive of demoscene productions including many GLSL shader-based demos with source.

Advanced

Features

200+ live, editable shader examples
Step-by-step tutorials (Your first shader, SDF basics…)
Annotated presets with inline comments
Interactive GLSL keyword explanations
🔜Fill-in-the-blank shader exercisesSoon
🔜Progress tracking across tutorialsSoon
🔜"Book of Shaders" curriculum alignmentSoon
🔜Class/cohort mode for teachersSoon

Learn GLSL inside your Discord server

Share examples and exercises with your class or community directly in Discord — slash commands, no web account required.

See Plans →

Take your shaders anywhere

Export to any engine or tool.

SStandard GLSLGLSL

Export any tutorial shader as raw GLSL — use it anywhere.

p5.js Sketchp5.js Sketchp5.js

Export with p5.js boilerplate — run in the browser immediately.

CCodePen TemplateCodePen

Open shader directly in CodePen — share with students or colleagues.

AAnnotated SourceAnnotated

AI-annotated version with inline explanations of every technique.