   texture and basic color dont work together.
  when i enable lighting color goes off.But texture still shines like as usual. I want to create nightmode so that i can put some extra light when lighitng is enabled. But if texture is always glowing ,this wont work. However i looked for global lighting which is  not present. Does it mean texture shines? Or am i making any mistake?   
  I don't know how much help I can be . . . . . .But you may try using this functionsglTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);This is the default one. Try setting GL_REPLACE or GL_DECAL (I guess)The material property (ie the shininess ) will not be there any more.Only texture will be applied.;  I tried the both way.it didn't work.   ;  Thanks Mr. devnath.GL_MODULATE is the exact command for my problem. I just had to put it in the right place.   ;  You are welcome :)   