Issue with merging objects by its geometries using mergeBufferGeometries()

Hi Mugen87! Im using this class to merge geometries to one geometry in this link

But after merge all the geometries,it still looks like more then one geometry when im apply texture
can you give me some guidances?