I know the camera culling mask has 4 limited exclusion for deferred rendering path, but does the same apply for all kinds of light’s culling mask as well? Also can they be different than camera’s one.? ie are those culling masks from camera and lights independent from each other?
The camera’s culling mask and the light’s culling mask are independent, but overlap in that of the objects that are visible to the camera there can be only 4 light layers in use. And for an object to be rendered its layer has to be visible to that camera’s culling mask, so there’s obviously some overlap there.
Lets say you have 8 objects in your scene, each with a unique layer, 8 lights, each with the culling mask set to only affect a single object, and two cameras, each set to only see 4 of the objects. This should work as expected with both cameras only rendering 4 objects each with unique lighting, even with deferred rendering enabled. Though it should be noted the second camera may render using the forward rendering path which doesn’t have the same 4 mask limit.