September 13, 2017
CD-ROM Shader: Diffraction Grating (Part 1)
This post will guide you through the creation of a shader that reproduces the rainbow reflections that can be seen on CD-ROMs and DVDs.
Part 6. CD-ROM Shader: Diffraction Grating (Part 1)
This has been the longer series so far; it has been a long journey, but finally there's some shader code!
You can read the rest of the series here:
Part 1. The Nature of Light
Part 5. The Mathematics of Diffraction Grating
Part 6. CD-ROM Shader: Diffraction Grating (Part 1)
Part 7. CD-ROM Shader: Diffraction Grating (Part 2)
Part 8. Iridescence on Mobile
You can download the Unity project for the CD-ROM shader here ($25+ patrons only).
As always, thank you for your support. ♥
