Sign in to follow this  

reminder(texture mapping problem)

Recommended Posts

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,

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