Hi There,
I’m a beginner in threeJs.
I want to add a number as an HTML label or Text(react-three/fiber) element beside each room to showroom no. Here’s an example of what I mean:
Here’s the code in the sandbox: 3rddddddddddd - CodeSandbox
I used that:
<Text position={position} anchorX="0px" font="/Inter-Regular.woff" fontSize={1} letterSpacing={0}>
1
<meshStandardMaterial color="black" />
</Text>
but it shows like that: