// 这里解决锯齿
viewer.scene.fxaa = false;
viewer.scene.postProcessStages.fxaa.enabled = true;
if (Cesium.FeatureDetection.supportsImageRenderingPixelated()) { // 判断是否支持图像渲染像素化处理
viewer.resolutionScale = window.devicePixelRatio;
}
// 这里解决锯齿
viewer.scene.fxaa = false;
viewer.scene.postProcessStages.fxaa.enabled = true;
if (Cesium.FeatureDetection.supportsImageRenderingPixelated()) { // 判断是否支持图像渲染像素化处理
viewer.resolutionScale = window.devicePixelRatio;
}