I’m currently loading a 24bit bitmap for
my 2 colour fonts (a bit wasteful!).
The 24bit bitmap loads fine, but any image
of less bit depth appears blank.
I have been using Nehe’s tutorials and have done the texture mapping one. Using photoshop I was able to make 24bit textures that worked fine. Then my friend made an 8bit texture through microsoft paint and it also worked fine. I don’t know much about opengl…but from what I saw it did not care what color depth the texture was it still worked fine. Btw, since most of my code was straight of Nehe I was using bitmaps…and Nehe’s bitmap loading function.
Also, my code looks exactly the same as yours except for the third parameter to glTexImage2D…instead of GL_RGB I am using the number 3. Maybe this will fix it…however I have no idea!
[This message has been edited by blide (edited 07-08-2000).]