hey @masakick,
I do believe what you're missing is a reference to the first element of myArray:
shader.setUniform1fv("uniArray", &myArray[0], 3);
Hope that does the trick.
hey @masakick,
I do believe what you're missing is a reference to the first element of myArray:
shader.setUniform1fv("uniArray", &myArray[0], 3);
Hope that does the trick.