raytracing, untested