Lights shadows

Hello everyone,

I’m developing an application to configure several lamp.
Every lamp has a light component. It is a point light, with defrred mapping to show shadows. The issue is that that light has not to do the shadow of the gameobject where it is attached, but this gameobject have to do the shadow of the other lights of the scene.
I have found how to solve this problem, using layers and the culling mask of the light, but in the scenes we have more than 4 lamps, and when it happens appear the next message:
"Too many layers used to exclude objects from lighting. Up to 4 layers can be used to exclude lights, "
I assign a layer to every lamp, and the culling mask have every layer except this one, in this way the gameobject of the lamp doesn’t produce the shadow of the same gameobject, but it produces the shadow from the other lights in the scene

Someone know other way to solve this problem?

Thank you in advance

This doesn’t sound like a scripting problem, you might have better luck posting this in another forum.