July 2008
Intermediate to advanced
480 pages
9h 29m
English
This chapter describes the OpenGL ES 2.0 programmable vertex pipeline. Figure 8-1 illustrates the OpenGL ES 2.0 programmable pipeline. The shaded boxes in Figure 8-1 indicate the programmable stages in OpenGL ES 2.0. In this chapter we discuss the vertex shader stage. Vertex shaders can be used to do traditional vertex-based operations such as transforming the position by a matrix, computing the lighting equation to generate a per-vertex color, and generating or transforming texture coordinates.
Figure 8-1. OpenGL ES 2.0 Programmable Pipeline

The previous chapters, specifically Chapter 5, “OpenGL ES Shading Language,” ...
Read now
Unlock full access