The two renders above show one scene. gman's z-buffer shades each surface from its lights alone and never asks what stands between them, so nothing casts a shadow.
Shadows, mirrors and glass all come from one move: fire a ray and see what it hits.
One ray per pixelA ray tracer follows light from the eye to the lamp. Almost none o...