GLTFExporter GLTFLoader and InstancedBufferGeometries

Here’s a snippet I’ve used before to convert a model loaded from GLTFLoader into an InstancedBufferGeometry –

But to export you’d need to undo that. If you use multiple copies of the same BufferGeometry, GLTFExporter should be smart enough to export only one copy and reuse it, but the file format doesn’t have a GPU instancing feature as such, and InstancedBufferGeometry can’t be exported directly.