Currently, I am working on a Three.js project and have noticed some performance lag in certain areas. The most significant lag occurs when rendering the text Meshes that I have created as follows:
var text1Geo = new THREE.TextGeometry("Hello", {font: font});
text1Mesh = new THREE.Mesh(text1Geo, textMaterial);
text1Mesh.position.set(-6500, 150, -500);
text1Mesh.castShadow = true;
scene.add(text1Mesh);
I am considering whether exporting the text as an obj using the OBJExporter would enhance performance. Instead of creating a THREE.TextGeometry, I could potentially load the mesh into the scene using an OBJLoader. Do you think this approach would boost performance? If you're interested in viewing the complete project and source code, please visit this link. Any additional tips or suggestions for improving performance are welcome. Thank you!