Programming, 3d Graphics, Rendering, Ray Tracing, Gaming.
see how many hit each light source. This happens for each light source in the scene. For reflections, each time a ray collides with a reflective material, we calculate the angle of reflection and generate a new ray which starts its own life. It too may go on to strike reflective surfaces at which