Hi,
We need to export 2 textures: for image and for shadows map. It works in js code when we assign texture jpg to emissive and shadows jpg to lightmap.
Also we need to set custom properties for each material. Like type and so on.
Hi. As i know. You cant export shadowmaps or lightmaps in materials from max because no exported map slot in max material for this maps only for ambient occlusion slot.
Would it be possible to add a lightmap container in the babylonAttributes of the physical material that gets exported (maybe also with a levelValue)?
I was looking around in the forum and it seems to me like a lot of people would appriciate this feature. Using babylonjs for a few years now and this feature would also be really nice for my workflow.