var R = Cesium.Material._materialCache._materials.PolylineGlow.fabric
R.source = R.source.replace("vec4 fragColor", "glow *= min(1.0, glowPower / (0.5 - st.s * 0.5) - (glowPower / 0.5)); vec4 fragColor");
Cesium.Camera.DEFAULT_VIEW_FACTOR = 5.5; var viewer = new Cesium.Viewer('cesiumContainer'); Cesium.CzmlDataSource.load('../../SampleData/simple.czml').then(function(dataSource) { viewer.dataSources.add(dataSource); viewer.camera.flyHome(0); viewer.clock.multiplier = 1800; var entity = dataSource.entities.getById('Satellite/Molniya_1-92'); var fadedLine = new Cesium.StripeMaterialProperty({ evenColor: Cesium.Color.YELLOW, oddColor: Cesium.Color.BLACK.withAlpha(0.3), repeat: 1, offset: 0.2, orientation: Cesium.StripeOrientation.VERTICAL }); entity.path.material = fadedLine; entity.path.leadTime = new Cesium.ConstantProperty(0); entity.path.trailTime = new Cesium.ConstantProperty(3600 * 4); });