The_Lightmapper
The_Lightmapper copied to clipboard
Wrong node gets connected when baking across several scenes
Error, where material indices are shifted when baking different scenes sharing the same materials. This causes black materials, as a wrong node is connected to the output material node before lightmap baking.
https://github.com/Naxela/The_Lightmapper/blob/46288b24374f7e6cf3e7acf387f55fe150fddb0b/addon/utility/cycles/prepare.py#L335
In the meantime, the recommended approach for separate building parts is to divide by blend file if they can't be combined.