Browse Source

倾斜摄影亮度等显示优化

maxx0329 1 day ago
parent
commit
7f550b8b00
1 changed files with 7 additions and 6 deletions
  1. 7 6
      src/components/Combinations/LayerManage/LayerManage.vue

+ 7 - 6
src/components/Combinations/LayerManage/LayerManage.vue

@@ -294,12 +294,13 @@ export default {
             if (obj.title == "倾斜摄影") {
               let style = new Cesium.Style3D();
               style.bottomAltitude = window.modelBottomAltitude; //底部高度
-              item.style3D = style;
-              item.brightness = 1.2;
-              item.contrast = 1.2;
-              item.saturation = 1.2;
-              item.gamma = 1.1;
-            }
+              item.style3D = style;  
+             }
+            item.brightness = 1.2;
+            item.contrast = 1.2;
+            item.saturation = 1.2;
+            item.gamma = 1.1;
+            item.shadowType = 2;
             if (
               item.name.indexOf("雨水") > -1 ||
               item.name.indexOf("管线") > -1 ||