How do I pass to my vertex shader an array of N elements?
From what I see I can only pass float arrays of 3|4 elements, vectors 2|3d and matrices, but I want to pass a POD array and use it like this:
void ShaderFunction(float* array,int count)
{
for (int i = 0;i < count;i++)
{
DoJob(array[i]);
}
}
So far all of my tests fail.