Texture remains black


I’m loading a texture from a ressource and put it on an area but the texture remains black. I don’t have this problem when I load the texture from a separate file.

Does anyone have an idea?


stem (www.stem.de)

Have You specified texture co-ordinates? (may seem a bit daft, but when no co-ords are specified, no texture appears)

just a thought…

Have you got a 2^k * 2^k bitmap/jpeg as a texture. glEnable gl_texture2D ? Texture normal set ok ? Lighting on but no lights ?

Check all these things, or post a section of your code.



Thanx, I found a solution.