The Book of Shaders
►http://thebookofshaders.com
by Patricio Gonzalez Vivo and Jen Lowe
This is a gentle step-by-step guide through the abstract and complex universe of Fragment Shaders.
Contents
About this book
Getting started
What is a shader?
“Hello world!”
Uniforms
Running your shader
Algorithmic drawing
Shaping functions
Colors
Shapes
Matrices
Patterns
Generative designs
Random
Noise
Cellular noise
Fractional brownian motion
Fractals
Image processing:
Textures
Image operations
Kernel convolutions
Filters
Others effects
Simulation
Pingpong
Conway
Ripples
Water color
Reaction diffusion
3D graphics
Lights
Normal-maps
Bump-maps
Ray marching
Environmental-maps (spherical and cube)
Reflect and refract
Appendix: Other ways to use this book
How can I navigate this book offline?
How to run the examples on a Raspberry Pi?
How to print this book?
How can I collaborate?
An introduction for those coming from JS by Nicolas Barradeau
Examples Gallery
Glossary