Chapter 5Basic Texturing
What You’ll Learn in this Chapter:
Up until now, you have been rendering with points, lines, and triangles, and you’ve seen how you can shade their surfaces by calculating color values and interpolating between them to simulate lighting effects. This is all well and good, and there are a substantial number of 3D application market segments where this is all that is required. A tremendous shortcut to greater realism, however, is texture mapping. A texture is simply image data that can be applied to a triangle in your scene, filling in the solid areas with filtered texels (the texture-based equivalent ...
Get OpenGL SuperBible: Comprehensive Tutorial and Reference, Fifth Edition 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.