Corrail
06-30-2005, 01:58 PM
Hello!
I just finished my first big project using OpenGL and came in some troubles using GLSL. If I want to specifiy a global uniform, for example the object matrix I have either pass this value to every shader or I have to use texture matrices (which I did).
So my question: are there any plans for global uniforms for GLSL? Or do I have to search for bulit-in uniforms and use them?
I just finished my first big project using OpenGL and came in some troubles using GLSL. If I want to specifiy a global uniform, for example the object matrix I have either pass this value to every shader or I have to use texture matrices (which I did).
So my question: are there any plans for global uniforms for GLSL? Or do I have to search for bulit-in uniforms and use them?