adding vec4 support for uniforms