Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Rather than explicitly supplying texture coordinates, you can have OpenGL generate them as a function of other vertex data using glTexGen*. After the texture coordinates have been specified or generated, they are transformed by the texture matrix. This matrix is controlled with the same functions that are used for matrix transformations (see Matrix Transformations).