PDA

View Full Version : How to combine a texture with color?



anuchka
07-29-2008, 03:45 AM
Hi

How to combine a texture with color without doing multitexturing ( i.e. to add color without retrieving it from another texture) ?


Thanks

ZbuffeR
07-29-2008, 04:14 AM
glColor with whatever color you want instead of default white.
Enable texturing.
By default, texture is modulated with vertex color.

anuchka
07-29-2008, 04:40 AM
:o

Jedimaster
07-30-2008, 01:04 AM
setup glTexEnvf