Lighting and changing texture colors in OpenGL

Apprentice
Posts: 18
Joined: 2010.07
Post: #1
Is it possible to change the color of textures just prior to rendering with glColor4f while still having lighting enabled? Whenever I enable lighting, the textures just assume there default colors.
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #2
glEnable(GL_COLOR_MATERIAL);
Quote this message in a reply
Apprentice
Posts: 18
Joined: 2010.07
Post: #3
Awesome, thanks a bunch.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  OpenGL ES Texture Masking airfire 6 14,559 Mar 17, 2014 07:07 PM
Last Post: baioses
  OpenGL ES Texture Compression ajrs84 9 3,951 May 7, 2013 03:36 PM
Last Post: ajrs84
  OpenGL ES Texture Masking dalasjoe sin 0 3,815 Apr 13, 2012 12:17 AM
Last Post: dalasjoe sin
  Texture in OpenGL ES 2 looks pixelated vunterslaush 18 22,859 Aug 30, 2011 09:44 PM
Last Post: Frogblast
  Changing Pixel Values using CG LIPH700 1 4,496 Nov 25, 2010 03:17 PM
Last Post: SethWillits