In my vertex shader, I have
in float data[6];
That means that if I have 100 vertices, I want to pass 600 floats. glVertexAttribPointer only supports sizes up to 4. If I use size 1, then will it automatically pick up the 6 elements?
In my vertex shader, I have
in float data[6];
That means that if I have 100 vertices, I want to pass 600 floats. glVertexAttribPointer only supports sizes up to 4. If I use size 1, then will it automatically pick up the 6 elements?