Skip to content

Bad webgl alpha config for 3-D scenes #4236

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

Closed
archmoj opened this issue Sep 30, 2019 · 5 comments
Closed

Bad webgl alpha config for 3-D scenes #4236

archmoj opened this issue Sep 30, 2019 · 5 comments
Assignees
Labels
bug something broken

Comments

@archmoj
Copy link
Contributor

archmoj commented Sep 30, 2019

Noticed blending issues (see the yellow areas on the image below) with Ubuntu + FireFox.
This could be related to premultipliedAlpha: true instead of false.
See gl-plot3d at https://github.com/gl-vis/gl-plot3d/blob/ccfc4318ec9d382900f7b80b17b1630092fe3953/scene.js#L84.

blendingFireFoxUbuntu

@archmoj
Copy link
Contributor Author

archmoj commented Sep 30, 2019

Also this mock renders:
Screenshot from 2019-09-30 12-30-06

@etpinard etpinard added the bug something broken label Sep 30, 2019
@archmoj
Copy link
Contributor Author

archmoj commented Sep 30, 2019

Also observed on
Windows 10 + Firefox 64 - 69.
Windows 7 + Firefox 69.
So the proposed fix may help!
But because the quality of rendering won't be great on other browsers namely Chrome (see the bottom image) it looks we should spend more time on this before making a PR.
Screenshot from 2019-09-30 17-21-44

@archmoj
Copy link
Contributor Author

archmoj commented Sep 30, 2019

By the way here is the codepen used to test the bug as well as possible impacts of the fix.

@archmoj archmoj changed the title Bad webgl alpha config for 3-D scenes Bad webgl alpha config for 3-D scenes for Firefox Oct 1, 2019
@archmoj archmoj changed the title Bad webgl alpha config for 3-D scenes for Firefox Bad webgl alpha config for 3-D scenes Nov 5, 2019
@archmoj
Copy link
Contributor Author

archmoj commented Nov 5, 2019

See #4334 (comment) which illustrate a similar issue on Chrome.

@gvwilson
Copy link
Contributor

gvwilson commented Jun 6, 2024

Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson

@gvwilson gvwilson closed this as completed Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants