Shader constants unchanged after unbind+rebind?

Started by
0 comments, last by zedz 16 years ago
A quick question: does OpenGL with GLSL (or CG) give any guarantees that shader uniform variables remain unchanged for a particular shader X if I unbind X, then bind another shader, and then bind X back again?
Advertisement
yes uniforms dont change unless u change them, ie u dont need to reset them every time u rebind a shader

This topic is closed to new replies.

Advertisement