How to light up textures if I use GLUT functions

Hi!

All my objects are made with glutSolid…(). If I don’t put textures on them, the lights that I have enabled are visible, but if a texture is loaded nothing happens.

I read about glTexCoord2f(), but I don’t know how to mix this function with glut’s ones.

Pls help me! :slight_smile:

What texture parameter do you use ? Try to use GL_MODULATE.
If I’m not wrong, all glutSolid* have normals, but they might not have texture coordinates. In this case you’ll have to make your own models yourself.