Programming, 3d Graphics, Rendering, Ray Tracing, Gaming.
lights in the scene. If we hit something along the way, that light isn’t directly contributing to the colour of that pixel. Once we’ve evaluated all the lights in the scene, we move on to the next ray. Now that we’re dealing with more than just ambient light, we’ll want to be able to model