Skip to content

Don't init gl3d scenes with premultipliedAlpha true on Firefox #4280

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
wants to merge 1 commit into from

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Oct 17, 2019

Fix #4236.
Avoid creation of artifacts when rendering of transparent 3d surfaces on Firefox.

Before vs After codepen

@etpinard

@@ -81,7 +81,7 @@
"gl-mat4": "^1.2.0",
"gl-mesh3d": "^2.1.1",
"gl-plot2d": "^1.4.2",
"gl-plot3d": "^2.2.2",
"gl-plot3d": "git://github.com/gl-vis/gl-plot3d.git#bb597b7dc8b7d70a8b0d4b4e042e2171ba091dbc",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@etpinard
Copy link
Contributor

A few questions:

  • Has any other WebGL-based project done this before?
  • Do we need something similar for parcoords and gl2d traces?

@archmoj
Copy link
Contributor Author

archmoj commented Nov 5, 2019

Considering #4334 (comment) this should be addressed for other browsers e.g. 'Chrome'.
Closing.

@archmoj archmoj closed this Nov 5, 2019
@archmoj archmoj deleted the fix4236-alpha-config branch December 3, 2019 18:26
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 this pull request may close these issues.

Bad webgl alpha config for 3-D scenes
2 participants