glUniformARB(....), how many times?

How many times do you have to set the value of the uniforms? only when you create and compile a shader or every time before you use it with glUseProgram(programID);

Regards

The values are part of the program state, so there is no need to pass them each time you activate the program.

Ok thanks!

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.