Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Archangel

Vertex Array & Multitexturing

This topic is 6251 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

Hi, I´m using Vertex Arrays to draw my geometry. all works fine but now i wanted to do 2Pass Bumpmapping with Multitexturing but how can I use the TexCoordArray with multitex? there is the texcoord command for multitex glMultitexCoord(texnr,u,v) or something like this but there is no glMultitexCoordArray() or is? If you know pls post link to .h .lib ... Thnx

Share this post


Link to post
Share on other sites
Advertisement
glClientActiveTextureARB( GL_TEXTURE0_ARB );
glEnableClientState( GL_TEXTURE_COORD_ARRAY );
glTexCoordPointer ( 2, GL_FLOAT,0, tex_coords );

glClientActiveTextureARB( GL_TEXTURE1_ARB );
glEnableClientState( GL_TEXTURE_COORD_ARRAY );
glTexCoordPointer ( 2, GL_FLOAT,0, other_tex_coords );

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!