< Zurück | Inhalt | Weiter >

10.1.2 Normal vectors and lighting

The lighting equation requires that you define a normal vector for each vertex that you want to be lit. The

lighting equation will interpolate the surface color between the vertices in the surface based on the vertex position and normal vector. There are a number of algorithms used to interpolate surface color between vertices, described in the sections that follow.


 

Lambert shading
Gouraud shading
Phong shading
NO NORMALS... NO SHADING