Casting shadows on geometry