I am using Geometry.mergeVertices method and I have realized that colors are not properly mapped after merging.
In my case I have a IndexedBufferGeometry which I convert into a geometry with:
geometry = new THREE.Geometry().fromBufferGeometry( geometry );
After doing this colors i Geometry are ok.
But after applying mergeVertice they don’t.
It seems that this method doesn’t take in mind colors.
Is there any fix for this?