Cook-Torrance Illumination
Definitions:
- Il,a - Ambient light intensity (same old hack)
- ka - Ambient surface reflectance (hacks beget hacks)
- Il,i - Luminous intensity of light source i
- ks - percentage of light reflected specularly (notice terms sum to one)
- rl - Diffuse reflectivity
- li - vector to light source
- n - average surface normal at point
- D - microfacet distribution function
- G - geometric attenuation Factor
- Fl(qi) - Fresnel conductance term
- v - vector to viewer
|