Changed to the non-array in the shaders version.