Jump to content

Computer Graphics: Difference between revisions

Line 128: Line 128:
{{main | Wikipedia: Lambertian reflectance}}
{{main | Wikipedia: Lambertian reflectance}}
This is a way to model diffuse (matte) materials.
This is a way to model diffuse (matte) materials.
<math>I_D = (\mathbf{L} \cdot \mathbf{N}) * C * I_{L}</math>
* <math>\mathbf{N}</math> is the normal vector.
* <math>\mathbf{L}</math> is the vector to the light.
* <math>C</math> is the color.
* <math>I_{L}</math> is the intensity of light.


===Phong reflection model===
===Phong reflection model===