-
I want to render some labels for meshes, and is CSS2DRenderer supported? |
Beta Was this translation helpful? Give feedback.
Answered by
drcmda
Apr 23, 2021
Replies: 1 comment 2 replies
-
yes, but you don't need it because there is a better way, look for all examples with the html tag: https://docs.pmnd.rs/react-three-fiber/examples/basics it's as easy as writing import { Html } from '@react-three/drei'
<mesh>
<Html><div>hi there</div></Html>
</mesh> |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
ida-fe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yes, but you don't need it because there is a better way, look for all examples with the html tag: https://docs.pmnd.rs/react-three-fiber/examples/basics
it's as easy as writing