Instance Geometry merge?

i used it:

var geometry = new THREE.Geometry();
for (var g = 0; g < meshList.length; g++) {
	geometry.merge(new THREE.Geometry().fromBufferGeometry(meshList[g].instanceBufferGeometry));
}
gltf.scene.children=[]; 
gltf.scene.add(new THREE.Mesh(geometry,meshList[0]._material));   

but It has no effect. how to merge instanceBufferGeometry or use addGroup in instanceBufferGeometry?

First of all, you don’t have to convert your geometries to Geometry to in order to merge them. Instead, use BufferGeometryUtils.mergeBufferGeometries(). The method is used in the following example so you can use the code as an orientation: https://threejs.org/examples/webgl_geometry_minecraft

I’m a bit confused of your workflow. Merging geometries is actually an alternative to instanced rendering. Why do are using both?

thanks,i’ll try it.I used similarity algorithm and instantiation. However, the instantiation effect of some models (such as pipelines) is not good,maybe my similarity algorithm is not ideal. so we want to merge some of them to reduce drawCall.