When attempting to multi-texture with vertex arrays, the 2nd and 3rd textures (units 1 and 2) do not show up at all on my model. The textures are loaded correctly.
In some instances the program runs slower (indicating multi-textureing) however only the base texture (Unit 0) appears.
I am using an ATi Rage Fury Pro and I checked other posts but they did not solve my problem.
Sample code:
// NOTE: Texture unit 1 has already been enabled.
glClientActiveTextureARB( GL_TEXTURE1_ARB); // Select unit 1
//glActiveTextureARB( GL_TEXTURE1_ARB); // glClient… should be used intsead
glEnableClientState( GL_TEXTURE_COORD_ARRAY); // Use this texture for VertArray
glTexCoordPointer( 2, GL_FLOAT, 0, skArrays.tex2); // Use these tex coords
glBindTexture( GL_TEXTURE_2D, texUnit2_id); // Use this texture for tex unit 1
glTexEnvi( GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); // Is this needed and why
Thanks for the help