seperate rendering into raytracing and rasterizing