<<< Diffuse lighting | Index | Diffuse lighting, cont. >>> |
The diffuse light intensity equals cosine between the vector pointing towards the light (L) and the normal vector (N) to the surface
The cosine can be computed based on the dot product:
|
|
<<< Diffuse lighting | Index | Diffuse lighting, cont. >>> |