Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Share this Page URL
Help

3. Textures - Pg. 59

3 Textures The examples in Chapter 2, "Making the Hardware Work for You," demonstrate how to render and display a white triangle with OpenGL ES 2.0. Real-life objects are seldom composed solely of white or any other solid color. OpenGL ES provides a way to specify different colors for every vertex in your geometry, but in practice, even triangles with multi-color vertices don't provide a sense of realism in rendered scenes. This chapter introduces a graphics technique