Graphics Programs Reference
In-Depth Information
Figure 5-12. Realistic lighting effects by interpolating normals
Summary
At the start of this chapter, I explained various ways to use textures with the rendered
object. I discussed using:
▪ single texture
▪ combination of textures
▪ combination of texture and color
▪ cubemap texture
Then, I talked about the Lambert illumination model and how to implement it using
shader programs .
In the next chapter, we will continue the development of our Tank Fence game,
where I will introduce two new classes to help us deal with Missile and Enemy game
objects.
Search WWH ::




Custom Search