As far as I know, the answer is no.
If I set my point light layer 2 and mesh default (0 and 8) , the lightmap shows it is affected.
I want to know why and is it a bug?
As far as I know, the answer is no.
If I set my point light layer 2 and mesh default (0 and 8) , the lightmap shows it is affected.
I want to know why and is it a bug?
It is not a bug, the light mapper doesn’t take light layers into account when baking.
It would require a lot of changes to make this work, and furthermore is very tricky to filter it : While it might sound easy to not bake a light contribution on an object, what about bounced light ? Suppose your light affects object A but not object B, should the light bounce from object A to B or not ?
It seems like a tricky setup, but you might be able to get around by using a mix of baked and realtime lights, and disabling receive baked lighting on your mesh.
But most of the offline rendering engine support the light to affect and ignore specific object. How did they do?
I’m not an expert in offline rendering, neither have in-depth knowledge about how the lightmapper internals work.
Maybe this should be formulated as a feature request.