Chapter 9. Texture Mapping

Chapter Objectives

After reading this chapter, you’ll be able to do the following:

• Understand what texture mapping can add to your scene

• Specify texture images in compressed and uncompressed formats

• Control how a texture image is filtered as it is applied to a fragment

• Create and manage texture images in texture objects, and control a high-performance working set of those texture objects

• Specify how the texture and fragment colors are combined

• Supply texture coordinates describing how the texture image should be mapped onto objects in your scene

• Generate texture coordinates automatically to produce effects such as contour maps and environment maps

• Perform complex texture operations in a single ...

Get OpenGL Programming Guide: The Official Guide to Learning OpenGL, Versions 3.0 and 3.1, Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.