Happy Holidays! Turns out rendering spherical objects has become our very own tradition by now, so as an addon to Monday’s tut and the question “But can u do it in Mantra?” – Here’s a small present hastily thrown together by yours truly: A VEX Thinfilm shader.
Have a peaceful time and happy new year everyone!
Further Reading
Chaosgroup’s site on a thinfilm shader implemented in OSL
Gamedev.net post covering the math behind that shader.
Shadertoy implementation of several wavelength => RGB algortithms