Texture remains black

Hi!

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?

Thanx

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.

Edo

Hi!

Thanx, I found a solution.

stem