Refraction
This project ray traces a glass sphere inside the Cornell Box. The
refraction indices for the sphere are for a dark flint glass material
using Cauchy's equation. The refraction uses Schlick's approximation
to Fresnel's equation. An additional Beer-Lambert term is also
optionally used to weight the energy for the photons by wavelength.
As always, the images are tone-mapped using a simple clamping and
gamma corrected.

Refraction
using Fresnel equations (left) and with Beer-Lambert's Law (right)
Projects | Home