How to set lightmapTexture when exporting from 3dmax, and it is possible to set custom properties for texture?

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.

How to do it directly in 3dmax?

Best regards, Viktor.

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.

Thanks. It is sad.

Pinging @Drigax for confirmation

(btw the exporters code is open source and we are looking for help:))

Correct, currently we don’t have a passthrough for lightmap textures