light linking in cycles

dear masters,

can any one there help me to give a solution for light linking in cycles?
we do have an option for linking lights to “this layer only” in blender internal so that the light will affect the objects in the specified layer
how will we achieve a similar result using cycles?

please do guide me if there is a way…

thank you…

You can use the exclude flags for render layers to simulate light groups in Cycles. In this scene, one cube is lit by a red light and the other by a blue light. But the floor is lit by both red and blue lights.

Attachments


27_cycles_light_groups.blend (99.9 KB)

thank you for your kind response…
I’ll try this …