Dielectrics and Transmission - cmu462/Scotty3D GitHub Wiki
Fresnel Equations for a Dielectric
The Fresnel Equations (another link here) describe the amount of reflection from a surface. The description below is an approximation for dielectric materials (materials that don't conduct electricity). In assignment 3 you're asked to implement a glass material, which is a dielectric.
In the description below, ![height=15px](https://raw.githubusercontent.com/wiki/cmu462/Scotty3Dmedia/dielectric_eq1.png|height=15px]] and media/dielectric_eq2.png refer to the index of refraction of the medium containing an incoming ray, and the zenith angle of the ray to the surface of a new medium. media/dielectric_eq3.png and [[media/dielectric_eq4.png) refer to the index of refraction of the new medium and the angle to the surface normal of a transmitted ray.
The Fresnel equations state that reflection from a surface is a function of the surface's index of refraction, as well as the polarity of the incoming light. Since our renderer doesn't account for polarity, we'll apply a common approximation of averaging the reflectance of polarizes light in perpendicular and parallel polarized light:
The parallel and perpendicular terms are given by:
Therefore, for a dielectric material, the fraction of reflected light will be given by ![height=15px](https://raw.githubusercontent.com/wiki/cmu462/Scotty3Dmedia/dielectric_eq8.png|height=15px]], and the amount of transmitted light will be given by [[media/dielectric_eq9.png).
Alternatively, you may compute using Schlick's approximation.
Distribution Function for Transmitted Light
We described the BRDF for perfect specular reflection in class, however we did not discuss the distribution function for transmitted light. Since refraction "spreads" or "condenses" a beam, unlike perfect reflection, the radiance along the ray changes due to a refraction event. In your assignment you should use Snell's Law to compute the direction of refraction rays, and use the following distribution function to compute the radiance of transmitted rays. We refer students to Pharr and Humphries for a derivation based on Snell's Law and the relation (or encourage students to attempt a derivation on their own).