Free Trial

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


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

3. Textures

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 called texturing that controls the color of every pixel in a rendered triangle.

Texturing is one of the most complex topics in computer graphics. This chapter introduces the concepts that underlay texturing and explains the commonly used options. Several examples progressively demonstrate the techniques.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial