Basic ray tracer works with intersection on spheres and shadows calculated from intersection point to light source checking for another intersection.