Developing a Ray Tracer Using Compute Shaders
Originally published on Medium, January 2022. Republished here with light edits — the original project’s source code no longer exists, only this write-up survived, so the code snippets below are described rather than shown. A ray-tracer is a rendering method that simulates light reflections, refractions and shadows. It follows a light path from a specific source and computes each pixel in the image to simulate the effect of the light. ...