The Book of Shaders is an open educational guide that introduces fragment shaders through gradual, visually oriented lessons. It begins with shader fundamentals, uniforms, and the process of running GLSL code. Later chapters explain shaping functions, colors, geometric forms, matrices, patterns, randomness, noise, and fractal techniques. The material then expands into image processing, simulations, lighting, normal maps, ray marching, environmental mapping, reflection, and refraction. Interactive examples help readers connect mathematical expressions with rendered results. The repository also contains translations, galleries, a glossary, offline navigation guidance, and instructions for running examples on devices such as Raspberry Pi.
Features
- Step-by-step fragment shader lessons
- Interactive GLSL code examples
- Algorithmic drawing techniques
- Generative noise and fractal topics
- Image processing and simulation chapters
- Advanced 3D rendering concepts