Need more texture types in GltfExporter

Hi everyone, i need to export a glb from playcanvas that contains the emissive map, but i’ve looked into the GltfExporter class on github and it’ll only export diffuseMap, i’m currently trying to replicate GltfExporter so i can try to support more maps but i don’t know how to extend from an engine class at the moment, if anyone can show me how to extend from CoreExporter or GltfExporter it’ll be aewsome.

Thanks in advance.

I think the best option would be to write PR for the engine to implement this (which we would really like) and use the custom engine build in the meantime perhaps?