• Advertisement
Sign in to follow this  

glMultiTexCoord2f question

This topic is 3480 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
Set texture coordinate pointer as usual, but set them per client-side texture unit.

glClientActiveTexture(GL_TEXTURE0);
glTexCoordPointer(texture 0 coordinate array);
glClientActiveTexture(GL_TEXTURE1);
glTexCoordPointer(texture 1 coordinate array);

... and so on.

Share this post


Link to post
Share on other sites
Ahh great thanks ever so much.

Would you also happen to know how to check whether they are even available? (eventhough they should be because it's ancient).

I use GLEE and I can't seem to find a GLEE_ARB_MULTITEXect or something.


Edit: GLEE_ARB_multitexture is there, but isn't that just for passing multiple textures to your shader? Or is it also for multiple texture coordinates?

Edit: Now I wonder, is there a point of multiple texture coordinates if you only have 1 texture...

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement