I have problem with lighting of my scene in Blender Game.
I need a lamp that light object on its layer and the objects on the layer ray shadow on all layers. But object on other layers do not ray shadow of the lamp and do not specular of the lamp (only receive shadow from object on layer where the lamp is).
I'm including simplified blend file to show the problem.
I have there 3 layers: Layer1 - white objects Layer 2 - blue Layer 3 - Red.
Lamp from layer 1 should light only white objects, but the object should cast shadow on all objects (red and blue cube)
Lamp from layer 2 should light only blue cube, but the shadow from the cube should be casted on all objects.
The same for layer 3 with red cube.
Is it possible to handle this? If not, meybe u know any alternative?