Changed pos to location to stay consistent with GLSL