This post completes the journey started in The Mathematics of Thin-Film Interference, by explaining how to turn the equations previously presented into actual shader code. You can find the complete series here: Part 1. The Nature of Light Part 2. Improving the Rainbow (Part 1) Part 3. Improving the Rainbow (Part 2) Part 4. Understanding Diffraction […] The post Car Paint Shader: Thin-Film Interference appeared first on Alan Zucconi.