how to access structures in glsl?

hi i am reading about multiple light sources and the book uses a structure in the fragment shader to hold the properties of the lights. I want to pass multiple structures with different values to a single structure array. anyobody know how? also how would you do it with one structure? thanks :slight_smile:

come on somebody has to know. anybody? thanks