Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS Renderer #51

Closed
giulioz opened this issue Mar 28, 2019 · 1 comment
Closed

CSS Renderer #51

giulioz opened this issue Mar 28, 2019 · 1 comment

Comments

@giulioz
Copy link
Member

giulioz commented Mar 28, 2019

Hi, I was wondering if it's possible to combine HTML and THREE elements, maybe using CSS3DRenderer. What may be the best practice?

@drcmda
Copy link
Member

drcmda commented Mar 28, 2019

You can of course combine the two, Canvas is a dom element and renders next to other dom elements. Other than that threejs has some means to project html onto planes as a texture or something, but haven't done this - but no reason it shouldn't work. Last but not least, if you want to exchange the renderer, that's also possible. https://github.com/drcmda/react-three-fiber/tree/2.0#switching-the-default-renderer

@drcmda drcmda closed this as completed Mar 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants