-
Hi, I am trying to display 3D text in my application which would use the following three.js code: `const loader = new THREE.FontLoader(); loader.load('../resources/threejs/fonts/helvetiker_regular.typeface.json', (font) => { How would I go about implementing using the react-three-fiber API? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
either in the same way you do it above, or declaratively: https://codesandbox.io/s/r3f-gltf-fonts-c671i?file=/src/Text.js |
Beta Was this translation helpful? Give feedback.
either in the same way you do it above, or declaratively: https://codesandbox.io/s/r3f-gltf-fonts-c671i?file=/src/Text.js