Skip to content

Is CSS2DRenderer supported? #1275

Answered by drcmda
ida-fe asked this question in Q&A
Apr 23, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

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>

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ida-fe
Comment options

@drcmda
Comment options

Answer selected by ida-fe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants