最佳答案
I would like to leave OpenGL's lights and make my own. I would like my shaders to allow for a variable number of lights.
Can we declare an array of uniforms in GLSL shaders? If so, how would we set the values of those uniforms?