Original Post
How can u support x number of light with per pixel lighting? I'm using CG and I can bind the lightdistance, normal, color of one light. but how can I pass the list off all my lights so the shader can work through all of em?? Ideally i'd like to pass a linked list, as it is. How would you usually go about in per pixel lighting many lights ?