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

Alpha not working for certain colors in Firefox 50 #4687

Closed
hpinkos opened this issue Nov 28, 2016 · 4 comments
Closed

Alpha not working for certain colors in Firefox 50 #4687

hpinkos opened this issue Nov 28, 2016 · 4 comments

Comments

@hpinkos
Copy link
Contributor

hpinkos commented Nov 28, 2016

Reported on the forum: https://groups.google.com/forum/?hl=en#!topic/cesium-dev/lmPHhYxMd7c

In the example below, the wall should be transparent gray but shows up solid in Firefox. Red.withAlpha(0.5) works fine.

var viewer = new Cesium.Viewer('cesiumContainer');
var entities = viewer.entities;

var cartesianPositions = Cesium.Cartesian3.fromDegreesArrayHeights( [-71.4178416666667, 43.5730416666667, 50000, -72.3041944444444, 43.6261111111111, 50000] );

entities.add( {
    wall: {
        positions: cartesianPositions,
        material: new Cesium.Color.GRAY.withAlpha(0.5)
    }
});

viewer.zoomTo(viewer.entities);

The GREEN.withAlpha(0.5) in this example is also not working: http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Rectangle.html&label=Geometries

@hpinkos
Copy link
Contributor Author

hpinkos commented Nov 28, 2016

@pjcozzi should this be labeled next release? I'm not sure if it's a bug with Cesium or a Firefox bug, but I feel like we should look into it soon.

@lilleyse
Copy link
Contributor

Also here: #4658

@hpinkos
Copy link
Contributor Author

hpinkos commented Nov 28, 2016

@lilleyse Thanks, I missed that issue. Should we close this as a duplicate or is it a different issue?

@lilleyse
Copy link
Contributor

lilleyse commented Nov 28, 2016

It's the same issue, either one can be closed.

@hpinkos hpinkos closed this as completed Nov 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants