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

Cannot render transparent background in IE or Safari #88

Closed
brianchirls opened this issue Apr 22, 2015 · 0 comments
Closed

Cannot render transparent background in IE or Safari #88

brianchirls opened this issue Apr 22, 2015 · 0 comments
Assignees
Labels
Milestone

Comments

@brianchirls
Copy link
Owner

As seen at http://www.martialarts-wien.at/

This appears to be because Safari and IE11 are ignoring the premultipliedAlpha option, as demonstrated here.

@brianchirls brianchirls self-assigned this Apr 22, 2015
brianchirls added a commit that referenced this issue Apr 22, 2015
A workaround for broken/missing support for the `premultipliedAlpha` WebGL context option in Safari and Internet Explorer. This is not ideal, because it changes the output values of `readPixels` on WebGL target nodes. But it appears to be the only way to make transparent backgrounds work in all browsers.

According to the WebGL spec, support for the option is mandatory, so there is no way to feature-detect whether it's working in a given browser. So the workaround needs to apply everywhere.
@brianchirls brianchirls added this to the Early Summer 2015 milestone May 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant