Light bending through a varying refractive index gradient in Euclidean space, producing a lens effect
A pathtracer simulating refraction through a spatially varying index of refraction in Euclidean space, modeling how temperature gradients in air can act as a lens. Rays bend continuously according to the local refractive index gradient, computed via raymarching.
Controls: WASD to rotate, arrow keys to translate.