Trace light through a faceted gem. Change the pavilion angle, refractive index, crown angle, table width and light tilt, and watch Snell refraction, Fresnel reflection and total internal reflection decide how much light returns through the top and how much leaks out the back. A Blender-built gem bench, with numerical checks of the ray tracer built in.