ramy1989
01-29-2013, 02:50 AM
I am moving to a programmable pipeline and I would know what are all the functions (or things) deprecated in OpenGL 2.0; I saw many sites mentioning what is deprecated in OpenGL 2.0, but no one says all the deprecated functions.
I use GLSL 1.20, and before discovering that some functions were deprecated I was using things like glLoadIdentity and glLightfv. Some questions:
1) In the shaders I always get gl_LightSource[0] which contain information about GL_LIGHT0. If glLightfv is deprecated, then how should I passed the values that are held in this structure?
2) There is also gl_ModelViewMatrix, but since glLoadIdentity, glMatrixMode and such things are deprecated, how do I pass info about the modelview matrix to the shader?
What else functions are deprecated?
I use GLSL 1.20, and before discovering that some functions were deprecated I was using things like glLoadIdentity and glLightfv. Some questions:
1) In the shaders I always get gl_LightSource[0] which contain information about GL_LIGHT0. If glLightfv is deprecated, then how should I passed the values that are held in this structure?
2) There is also gl_ModelViewMatrix, but since glLoadIdentity, glMatrixMode and such things are deprecated, how do I pass info about the modelview matrix to the shader?
What else functions are deprecated?