Lighting and changing texture colors in OpenGL
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.
glEnable(GL_COLOR_MATERIAL);
Awesome, thanks a bunch.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| OpenGL ES Texture Compression | ajrs84 | 9 | 504 |
May 7, 2013 03:36 PM Last Post: ajrs84 |
|
| OpenGL ES Texture Masking | airfire | 5 | 11,470 |
Nov 14, 2012 09:36 AM Last Post: toanNguyen |
|
| OpenGL ES Texture Masking | dalasjoe sin | 0 | 3,148 |
Apr 13, 2012 12:17 AM Last Post: dalasjoe sin |
|
| Texture in OpenGL ES 2 looks pixelated | vunterslaush | 18 | 17,814 |
Aug 30, 2011 09:44 PM Last Post: Frogblast |
|
| Changing Pixel Values using CG | LIPH700 | 1 | 3,760 |
Nov 25, 2010 03:17 PM Last Post: SethWillits |
|

