Constant values

I need the value of:

GL_LIGHT_MODEL_COLOR_CONTROL

and

GL_SEPARATE_SPECULAR_COLOR

sothat I can:

glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR);

I need the values because I am not using C++ and I can’t just #include the C OpenGL headers to get the constants so I need to declare them myself.

-Noah Desch

#define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8
#define GL_SINGLE_COLOR_EXT 0x81F9
#define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA

BTW, just check the gl.h or glati.h (or whatever), and you can find the values.

www.opengl.org
-> Developers
—> Documentation
-----> OpenGL Extensions
-------> OpenGL Extension Registry
---------> GL_EXT_separate_specular_color

Originally posted by Elixer:

BTW, just check the gl.h or glati.h (or whatever), and you can find the values.

Thanks…They were not in there, I’m using version 1.0 of Apple’s OpenGL SDK (which is the only version available right now) and it does not have these values.

-Noah Desch