Mongoose
12-05-2000, 05:45 AM
Has anyone had this problem before?
I used to be able to load up my nice 24bit textures using the following functions...
// load the texture
AUX_RGBImageRec *pTex = auxDIBImageLoad( full_path );
// upload it video memory
glGenTextures( 1, &m_ID );
glBindTexture( GL_TEXTURE_2D, m_ID );
gluBuild2DMipmaps( GL_TEXTURE_2D, GL_RGB, pTex->sizeX, pTex->sizeY, GL_RGB, GL_UNSIGNED_BYTE, pTex->data );
now whenever i bind the texture and render some triangle strips the quality looks 8bit. it is not the 24bit that i expected...
any ideas?
I used to be able to load up my nice 24bit textures using the following functions...
// load the texture
AUX_RGBImageRec *pTex = auxDIBImageLoad( full_path );
// upload it video memory
glGenTextures( 1, &m_ID );
glBindTexture( GL_TEXTURE_2D, m_ID );
gluBuild2DMipmaps( GL_TEXTURE_2D, GL_RGB, pTex->sizeX, pTex->sizeY, GL_RGB, GL_UNSIGNED_BYTE, pTex->data );
now whenever i bind the texture and render some triangle strips the quality looks 8bit. it is not the 24bit that i expected...
any ideas?