Shader concepts, explained

One idea per page: a short answer, a live example running in your browser, the code in every shader language, the mistakes to avoid, and the lessons where you can practise it. Looking for a quick syntax reference instead? See the HLSL, GLSL, WGSL and Metal cheat sheet.

New to all of this? Follow a learning path for a step-by-step order.