PDA

View Full Version : Shading Language Uniform Locations



marksibly
07-31-2006, 08:12 PM
Hi,

Quick question about uniform locations...

As uniform locations are only determined by linking - ie: there is no glBindUniform (that I can see anyway) - does that mean that a uniform that doesn't change will still need to be reloaded when the program *does* change, as it's location may be different 'per-program'.

Hope that makes sense!

Bye!
Mark

sqrt[-1]
07-31-2006, 08:20 PM
Yes