Shader constants unchanged after unbind+rebind?
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?
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
Popular Topics
Advertisement