Textures and material together?

Hi,

I apologize if this was already present in some other thread but i had a search and did not find about this.

I am also sorry that it might more a openGL question rather than JOGL specific.

My question is whether it is possible to use both textures and materials to give some effect together.
This is what i am doing in some program, when i used the materials property alone at some place it works fine.

But if i want to give specific material property to an object on which i have put a texture it seems not completely correct. Mainly it seems that the shininess is not present.

Hello Malek,

perhaps this link may help you :

http://www.opengl.org/resources/tutorials/sig99/advanced99/notes/node63.html

Oliver