Support for Farsi/Arabic texts in Three.js
问题 I need to show some text in Persian/Arabic language. I loaded a font including characters and I used TextGeometry to create a text on the scene: var loader = new THREE.FontLoader(); loader.load('B Zar_Regular.js', function (font) { var textGeo = new THREE.TextGeometry('سلام!', { font: font, size: 1, height: 0.05, curveSegments: 12, }); var material = new THREE.MeshNormalMaterial(); var textMesh = new THREE.Mesh(textGeo, material); textMesh.position.x = 15; scene.add(textMesh); }); I was