Jump to content
  • Advertisement
Sign in to follow this  
wabbz111

reminder(texture mapping problem)

This topic is 3445 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 guys please post for me a reply for the problem in this topic I really need a solution http://www.gamedev.net/community/forums/topic.asp?topic_id=518145

Share this post


Link to post
Share on other sites
Advertisement
You mean that when you call glBindTexture, the texture doesn't bind?

Also, you guys should stop using glaux and stop giving 3 for the third parameter in
glTexImage2D( GL_TEXTURE_2D, 0, 3, TextureImage[0]->sizeX,
TextureImage[0]->sizeY, 0, GL_RGB, GL_UNSIGNED_BYTE,
TextureImage[0]->data);

give it an actual format like GL_RGB8 or GL_RGBA8

Share this post


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

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!