Multiple shapes and lightening

Ste's icon

Hello
I am searching for some way to get multiple gl shapes with different light position for every single of them.
I can not find how I can make this if I have an array with n shapes.
Have anyone got some idea.