I’m attempting to assign an array of integers to each vertex and pass that to the shader via a vertex attribute. Currently when I try :
attribute float nodelocations[ ];
in the Shader InfoLog I get
0(15) : Warning C7507: OpenGL does not allow attributes of type float[ ]
Is using a vertex attribute the correct procedure for this task? And if so, why does it not allow the Vertex Array?