Programming, 3d Graphics, Rendering, Ray Tracing, Gaming.
the pixels and you’ve created a very crude ray tracer! This process is simple because we’re only factoring in ambient light, like sunlight on a cloudy day. The next step would be to add some light sources in. Each time a ray hits something, we draw a new line, called a shadow ray, to each of the