Ray Tracing, Apple Metal, Swift Programming, Gpu Rendering, Wwdc 2020.
introduction we will start talking about rays. A Ray is a narrow beam of light traveling in a straight line from its place of origin. An Origin in our case will be the eye, or camera. As the ray travels from the camera to the scene we would like to know what colors it sees along the path. In