feat: 关闭时间对模型明暗的影响
This commit is contained in:
parent
891a5b5ec7
commit
d452eea5b6
|
@ -403,6 +403,10 @@ export default {
|
|||
navigationInstructionsInitiallyVisible: false,
|
||||
});
|
||||
this.viewer = viewer;
|
||||
// 关闭时间对模型明暗的影响
|
||||
viewer.scene.light = new Cesium.DirectionalLight({
|
||||
direction: new Cesium.Cartesian3(0.354925, -0.890918, -0.283358)
|
||||
})
|
||||
if (Cesium.FeatureDetection.supportsImageRenderingPixelated()) {
|
||||
//判断是否支持图像渲染像素化处理
|
||||
viewer.resolutionScale = window.devicePixelRatio;
|
||||
|
|
Loading…
Reference in New Issue