Next: Phong Reflection Model
Up: Advanced Lighting
Previous: Fast and Dirty
- Diffuse Geometry:
-
- i is the unit vector in the direction of the
illumination (light source)
- n is the unit vector normal to the surface
- r is the unit vector in the mirror reflection direction
- v is the unit vector in the direction of the eyepoint
- Formulas:
-
-
- r and are not needed
CS488/688: Introduction to Interactive Computer Graphics
University of Waterloo
Computer Graphics Lab
cs488@cgl.uwaterloo.ca