![]() |
|
Lighting and changing texture colors in OpenGL - Printable Version +- iDevGames Forums (http://www.idevgames.com/forums) +-- Forum: Development Zone (/forum-3.html) +--- Forum: Graphics & Audio Programming (/forum-9.html) +--- Thread: Lighting and changing texture colors in OpenGL (/thread-7981.html) |
Lighting and changing texture colors in OpenGL - agreendev - Aug 12, 2010 01:10 PM 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. RE: Lighting and changing texture colors in OpenGL - OneSadCookie - Aug 12, 2010 02:24 PM glEnable(GL_COLOR_MATERIAL); RE: Lighting and changing texture colors in OpenGL - agreendev - Aug 13, 2010 03:47 PM Awesome, thanks a bunch. |