-
Notifications
You must be signed in to change notification settings - Fork 329
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
Transparency issue in Firefox with polygons in 3D #421
Comments
30 * 9 is 270 > 255. Are you sure your last color is valid? |
Good catch; that is just some issue with the test page. So that explains the green colour in Chrome. So, the only issue is the transparency issue in Firefox. |
Looks like a Cesium bug. See similar bug CesiumGS/cesium#2431. |
That may be. However, I cannot see that issue in the Cesium Sandcastle: http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Rectangle.html&label= |
See also CesiumGS/cesium#4658. |
Yeah, that is likely the root cause. Should we close this issue or keep it open for tracking purposes? |
Fine to me to keep it open. Thanks. |
OL3-Cesium was ported to latest Cesium version, which includes this fix: CesiumGS/cesium#4762. Could you update to master and test if the issue is solved? |
Yeah I just tested with the updated version of ol3-cesium and works great with the workaround removed. |
I have created some polygons with colours and transparencies. This is how it looks like in 2D:
However, in 3D, transparency is messed up in Firefox 50 (it shows as solid white), but fine in Chrome 53.
3D rendering in Firefox:
3D rendering in Chrome:
This used to work fine; not sure if in earlier versions of ol3-cesium, or earlier versions of Firefox.
I have reproduced the issue in a small file; attaching it since I can't create a jsfiddle with ol3-cesium.
transparency_issue.zip
The text was updated successfully, but these errors were encountered: