rasterizer and raytracer work separately