I'm trying to build a deferred rendering technique in an OpenGL engine, but I can't figure how I could get more than the limit of 32 lights.
I use an array in my shader, feed light properties into this array then loop through it and compute lightning, but I can't get more than 32 items into my array.
What is a better alternative to this?