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

OIT not working correctly in Firefox #4658

Closed
lilleyse opened this issue Nov 16, 2016 · 13 comments · Fixed by #4762
Closed

OIT not working correctly in Firefox #4658

lilleyse opened this issue Nov 16, 2016 · 13 comments · Fixed by #4762

Comments

@lilleyse
Copy link
Contributor

Blending vs. OIT
good
bad

I have only noticed this on Firefox so far, but will check Chrome on a different computer later.

@pjcozzi
Copy link
Contributor

pjcozzi commented Nov 28, 2016

Is this new in Firefox? It may be a bug in Firefox or a change in the Firefox WebGL implementation that exposed a bug in OIT.

@lilleyse
Copy link
Contributor Author

Yeah this is new, at most about a month.

@hpinkos
Copy link
Contributor

hpinkos commented Dec 5, 2016

Also reported here: #4718

@pjcozzi pjcozzi mentioned this issue Dec 6, 2016
@jroetman
Copy link

jroetman commented Dec 8, 2016

A temporary workaround in my case was to update the about:config property
webgl.disable-extensions = true

see pjcozzi's comment below, it's a better solution.

Last comment... I still needed to disable extensions. Although orderIndependentTranslucency corrected transparency issues, I was losing outlines on some polygons, and was having some performance issues with picking.

@jmgomezpoveda
Copy link

Setting webgl.disable-extensions = true in my browser also fixed the issue. Though it is not really a workaround since we cannot ask users to change it in their browsers.

@pjcozzi
Copy link
Contributor

pjcozzi commented Dec 8, 2016

As a workaround, try setting orderIndependentTranslucency : false when constructing the Cesium Viewer widget.

@jmgomezpoveda
Copy link

@pjcozzi that workaround works great on my system.

@hpinkos
Copy link
Contributor

hpinkos commented Dec 15, 2016

@mramato
Copy link
Contributor

mramato commented Dec 15, 2016

We should probably look into this sooner, rather than later.

@mramato
Copy link
Contributor

mramato commented Dec 15, 2016

I noticed Firefox is spitting out tons of the below errors (and I believe this is a new development). Maybe there's a bug in some new code they added.

Error: WebGL: texImage2D: Incurred CPU row conversion, which is slow.  Texture.js:147:17
Error: WebGL: texSubImage2D: Incurred CPU row conversion, which is slow.

@mramato
Copy link
Contributor

mramato commented Dec 15, 2016

Last update:

  1. The above errors occur even when OIT is off
  2. The rendering problem still happens even with ANGLE off
  3. Possibly related to Geometry shows up all white in Firefox #3068

@pjcozzi
Copy link
Contributor

pjcozzi commented Dec 18, 2016

@jroetman @jmgomezpoveda this should be fixed now via #4762. It will be in Cesium 1.29 on January 2.

@jmgomezpoveda
Copy link

Yeah this works fine now in Firefox 50. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants