Download Sample 2
Transcript
Figure 3: Initial results of the terrain loader with a single texture. To improve the performance, static lighting was implemented. Static terrain lighting was implemented with the Lambertian lighting model. The colour of every vertex on the terrain was determined by using the normal of the vertex and the direction vector of the light source to the vertex. The results are shown in Figure 4. 6