Some minutes ago i used the first time textures on some surface. This surfaces was lit nicely by 3 specular originating from 3 lights. Now with the texture added it is not really viewable.
In the RED BOOK is mentioned, that with the function
glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR); one could apply specular highlights after texture mapping.
Unfortunately my compiler complains, that both constants aren`t declared.
I was shocked.I looked it up in the gl.h and the only lines i found were:
#define GL_FRONT_FACE 0x0B46
#define GL_LIGHTING 0x0B50
#define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51
#define GL_LIGHT_MODEL_TWO_SIDE 0x0B52
#define GL_LIGHT_MODEL_AMBIENT 0x0B53
#define GL_SHADE_MODEL 0x0B54
#define GL_COLOR_MATERIAL_FACE 0x0B55
#define GL_COLOR_MATERIAL_PARAMETER 0x0B56
#define GL_COLOR_MATERIAL 0x0B57
#define GL_FOG 0x0B60
How can i solve this problem ?
Sincerely,
Martin.