I added a new version with the following features :
-
new option to show textures per material
-
connect lightmap to emission or mulitply with base color
Bake your lightmap and afterwards choose how to connect it to the principled shader. The default was to put it n the emission so I could use it with a second uv in three.js but now you can also use it to speed up render times or get a “real” preview how your model will look with lightmap.
- fixed baking materials with metal image textures