PDA

View Full Version : returning to fixed functionality



strattonbrazil
06-28-2007, 08:47 AM
Does GLSL do anything to the fixed functionality of the OpenGL stack when it's called?

Right now I'm loading some GLSL shaders, binding them, and unbinding them using glUseProgram(0). However, everything not in a shader gets put as black. I'm wondering if GLSL turns off lighting or something.

The shaders were previously written in assembly and worked fine, so I was wondering if GLSL did something different to the OpenGL stack.

k_szczech
06-28-2007, 09:56 AM
No, that shouldn't happen.