reubenhawkins
05-10-2002, 07:22 AM
I know for texturing I can create a texture coordinate array using glTexCoordPointer() but how can I do an array for multitexture coords?
glTexCoordPointer will set the texture coordinate array for the, on the client side, currently active texture unit.
glClientActiveTexture(GL_TEXTURE0); // Set tex coord array for texture unit 0
glTexCoordPointer(...);
glClientActiveTexture(GL_TEXTURE1); // Set tex coord array for texture unit 1
glTexCoordPointer(...);
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.