Transparent material appears black when using lightmap

Hi there,

Continuing with the scene started here, I have a problem with the lightmap on transparency mapped materials, like the Rattan wood material of the chair:

The problem dissapears when deactivating the “use lightmap as shadowmap” feature, as you can see:

How can I fix that issue?

Thanks in advance!

Could you provide a repro in the Playground? A transparent object is not treated any differently than an opaque object for lightmap purposes, so it may be a problem with the lightmap itself.

OMG you are right, those pieces are black in the lightmap!

For some reason, the lightmapper addon for Blender has troubles with transparency mapped shaders. I’ll tell developer about that finding.