See also “Rendering Worlds with Two Triangles” [2], which is such a wonderful title for describing these techniques.
[1] https://iquilezles.org/articles/
[2] https://iquilezles.org/articles/nvscene2008/rwwtt.pdf