hello,

i´m having some problems with a simple calculation in the vertex shader suppose this:

uniform vec4 a;

uniform vec4 b;

uniform vec4 c;

varying vec4 result;

void main(){

// …the usual stuff here…then

res = a + b + c ;

}

and for some reason that i don´t know why i can´t get the uniform location for any of those uniforms…how can i work around this !!! when ever i try to get the locations i always get “-1”…so no locations is compiled…