I was going off this example here:
And realized that all the geometry here was from primitives not cesium entities. Can entities have alpha blending so I can see some of the earth/map below them? I am trying this and it seems to be ignoring all my color and fill options:
var entitycesium = new Cesium.Entity();
entitycesium.name = jsonf.features[i].properties.name;
entitycesium.polygon=new Cesium.PolygonGraphics({
hierarchy : Cesium.Cartesian3.fromDegreesArray([
jsonf.features[i].geometry.coordinates[0][0][0],jsonf.features[i].geometry.coordinates[0][0][1],
jsonf.features[i].geometry.coordinates[0][1][0],jsonf.features[i].geometry.coordinates[0][1][1],
jsonf.features[i].geometry.coordinates[0][2][0],jsonf.features[i].geometry.coordinates[0][2][1],
jsonf.features[i].geometry.coordinates[0][3][0],jsonf.features[i].geometry.coordinates[0][3][1],
jsonf.features[i].geometry.coordinates[0][4][0],jsonf.features[i].geometry.coordinates[0][4][1],
]),
outline:true,
outLineColor : Cesium.Color.RED,
material : Cesium.Material.fromType(‘Color’, { color : new Cesium.Color(1.0, 0.0, 0.0, 1.0)})
});
entitycesium.description= ‘<a href="’ + jsonf.features[i].properties.file_name + ‘">Full Resolution Viewer’;
viewer.entities.add(entitycesium);
Is there anyway to get alpha blending?