Sign in to follow this  
wabbz111

reminder(texture mapping problem)

Recommended Posts

wabbz111    162
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
V-man    813
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this