I am attempting to do the following font import:
loader.load('three/examples/fonts/gentilis_bold.typeface.json', function (font) {
const txtGeometry = new TextGeometry("Test", {
font: font,
size: 80,
height: 1,
curveSegments: 12,
bevelEnabled: true,
bevelThickness: 10,
bevelSize: 8,
bevelOffset: 0,
bevelSegments: 5
});
let textMesh = new three.Mesh(txtGeometry, new three.MeshBasicMaterial({ "color": "FF000" }))
});
The issue is that the font is not found:
Despite this font being within the Three.js Font directory:
Note that I am using Vite.js