From Dev.to
I ray traced a real diamond in a fragment shader (no textures, no models, 73 planes)
Most "3D diamonds" on the web are a glass material with a sparkle texture. They look fine in a thumbnail and dead the moment you move the light. I wanted the real thing: light that enters the stone, b...