COLLADA exporter for Gile[s]

The exporter works fine, but when importing to Unity the lightmaps are not looking good, I’m using Unity’s Lightmapped/Diffuse shader, I’m new to Unity and any advice is welcome. I’m attaching the script:

274690–9869–$colladaexport_838.txt (10.9 KB)

unity as far as I remember has no modulate x2 / x4 based lightmapping which will cost quite a bit of quality. also you potentially need vertex colors enabled if you had vertex lit objects.
changing one of the present shaders should solve that :slight_smile:

thanks for sharing the code

Thanks for your answer, I’ll try to create a custom shader to test it.

Regards