hannesh's picture

Global Uniform variables

Is it possible to have Uniform variables which are shared between multiple programs?
For example a camera position vector, do I really have to set it for every program I'm using?

On the OpenGL forums I was reccomended UBO's, but they seem to be 3.0 only, and we want our game to run on 2.0 hardware.