PDA

View Full Version : Texture remains black



even_steven
09-21-2000, 04:27 AM
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)

Rob The Bloke
09-21-2000, 02:31 PM
Have You specified texture co-ordinates? (may seem a bit daft, but when no co-ords are specified, no texture appears)

just a thought...

edotorpedo
09-23-2000, 04:07 AM
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

even_steven
09-23-2000, 09:29 AM
Hi!

Thanx, I found a solution.

stem