uniforms now accept typed arrays