View Full Version : Vertex Arrays mit Multitexturing

03-11-2002, 05:32 AM
I noticed in the Red Book, (my primary source) during the short discussion on multitexturing, it mentions over a few paragrpahs the use of multitexturing in vertex arrays.

I did not see anyway to specify texture coordinates for different texture units, so if you use multitexturing with vertex arrays do all of your texture levels have to have the same texture coordinates?

03-11-2002, 05:39 AM
Here it is straight from the spec:

void ClientActiveTexture( enum texture );
is used to select the vertex array client state parameters to be modified by
the TexCoordPointer command and the array affected by EnableClientState and
DisableClientState with parameter TEXTURE COORD ARRAY.

You can also add this 'into' interleaved vertex array formats by playing around with the stride argument.