Original Post
hello guys, i want my program to support unlimited number of lights. i want to achieve it with shader. but i don't know how. especially how to transfer the lighting information to the gpu? through a texture map? is there any example that i can look at?