raytracing is slower than raycasting because you shoot a ray to every pixel on screen 400x240 pixels is 96000 pixels but gives a better image because raycasting only shoots rays equal to the horizon(which is 400 because it is the length of the screen. raytracing produces shading and a better image. I dont think raycasting can produce shaded walls,floors and ceilings.