-
Notifications
You must be signed in to change notification settings - Fork 12
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
Configure Background of model (transparency?) #53
Comments
I'm not aware that any 3D file formats specify background colors (other than the inverted geometry trick) to be used in a 2D viewport environment. Being able to specify a color or even a texture background on the model element sounds helpful. I am assuming that the color or image background would be visible through any semi-transparent areas of the model, ideally including refraction and physically-based transmission. I would not necessarily require or expect the 3D geometry to refract DOM content behind the element. For example, see the bottom of the page here: https://www.donmccurdy.com/2021/11/11/writing-volumetric-refraction-gltf/ |
If a CSS background is available but not processed in the scene, you could end up with a situation similar to the one illustrated here for : google/model-viewer#3627 |
/tpac to discuss whether people would desire a transparent background (which could be useful, but will also be weird) |
Need to investigate setting the background color (or transparency) of model. Can the formats specify the background color (without using geometry)? Would it use a CSS background color?
The text was updated successfully, but these errors were encountered: