raytracing works