简简单单开启抗锯齿
// 是否支持图像渲染像素化处理
if (Cesium.FeatureDetection.supportsImageRenderingPixelated()) {
Viewer.resolutionScale = window.devicePixelRatio
}
// 开启抗锯齿
Viewer.scene.postProcessStages.fxaa.enabled = true
简简单单开启抗锯齿
// 是否支持图像渲染像素化处理
if (Cesium.FeatureDetection.supportsImageRenderingPixelated()) {
Viewer.resolutionScale = window.devicePixelRatio
}
// 开启抗锯齿
Viewer.scene.postProcessStages.fxaa.enabled = true