Chapter 8. Bump Mapping
This chapter enhances the per-fragment lighting discussion in Chapter 5 with texture-encoded normals to create an effect known as bump mapping. This chapter has the following five sections:
“Bump Mapping a Brick Wall” introduces bump mapping of a single rectangle.
“Bump Mapping a Brick Floor” explains how to make bump mapping consistent for two planes.
“Bump Mapping a Torus” shows how to bump map curved surfaces that have mathematical representations, such as the torus.
“Bump Mapping Textured Polygonal Meshes” shows how to apply bump mapping to textured polygonal models.
“Combining Bump Mapping with Other Effects” combines bump mapping techniques with other textures, such as decals and gloss maps, for more sophisticated shading. ...
Get The Cg Tutorial: The Definitive Guide to Programmable Real-Time Graphics now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.