Ray Tracing, Apple Metal, Swift Programming, Gpu Rendering, Wwdc 2020.
essence the ray is a function of the real number parameter _t_ from the camera into the scene, p(t) = O + t * L where L is the direction. At zero the color is completely dark, a negative number would be behind the camera, and a positive number would be in front of the camera. Create a new target, I