PDA

View Full Version : Light & Texture Mapping



mekron
07-11-2004, 07:23 AM
Hallo,
when i use Texture Mapping it seems that lighting has no effect on the Scene. When Texture Mapping is disabled the lighting works fine.
Do Lighting und Texture Mapping not work together generally?

Regards
mekron

CrazyButcher
07-11-2004, 07:31 AM
hm they should be lit just fine
make sure GL_COLOR_MATERIAL is enabled and glTexEnvf(GL_MODULATE) is used.

mekron
07-11-2004, 08:34 PM
...Problem solved...Thank you!