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

canvas - background transparent #180

Closed
wontroba666 opened this issue Dec 7, 2021 · 2 comments
Closed

canvas - background transparent #180

wontroba666 opened this issue Dec 7, 2021 · 2 comments

Comments

@wontroba666
Copy link

Hello, I can't see it in the documentation - is it possible to set the background color of the canvas to a TRANSPARENT in the web version ?

@kovacsv
Copy link
Owner

kovacsv commented Dec 7, 2021

At the moment it's not possible, because the WebGL context is initalized without alpha (alpha causes performance issues). On the other hand, you can set the background color to any color using the backgroundcolor attribute.

You can read the details here:
https://github.com/kovacsv/Online3DViewer/wiki/Use-the-Viewer-on-Your-Website

@kovacsv
Copy link
Owner

kovacsv commented Jun 25, 2022

Duplicate: #286

@kovacsv kovacsv closed this as not planned Won't fix, can't repro, duplicate, stale Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants