Scratchapixel 2.0

Learn Computer Graphics Programming from Scratch

"Fantastic website! This is the best resource I've found on computer graphics programming. Thank you so much for making and maintaining it."
Support Scratchapixel with a Donation
22 lessons, 130 chapters, 370,000 words, C++ source code

Mathematics and Physics for Computer Graphics

What math should I learn in order to study computer graphics?

Matrix Inverse

Foundations of 3D Rendering (Volume 1)

17 lessons designed to introduce you to the field of 3D rendering (best reading order is chronological)

3D Rendering: Better, Faster, More (Volume 2)

A new series of 12 lessons to study advanced but nonetheless important 3D rendering techniques

Bias vs Unbias Path Tracing & the Russian Roulette
Multi-Threading in Rendering
Intuitive Introduction to Anti-Aliasing
Area Lights
The Infamous Rendering Equation
Intuitive Introduction to Importance Sampling
Texture Mapping
Depth of Field
Motion Blur
Volume Rendering

Digital Imaging

A series of lessons on digital images, color science and image processing

Digital Images
Simple Image Manipulations


A collection of fun techniques

Creation and Rendering of Realistic Trees