zpf 11 months ago
parent
commit
a73784ac90
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/viewer.vue

+ 2 - 2
src/views/viewer.vue

@@ -299,7 +299,7 @@ export default {
                 vec2 st = materialInput.st; 
                 float dis = distance(st,vec2(0.5));
                 material.diffuse = color.rgb;
-                material.alpha = clamp( dis * 2.0, 0.1, 0.6);
+                material.alpha = clamp( dis * 2.0, 0.1, 0.3);
                 return material;
             }
             `
@@ -418,7 +418,7 @@ export default {
                             minimumHeights: new Array(positions.length).fill(0),
                             material: new Cesium.DynamicWallMaterialProperty({
                                 color: Cesium.Color.fromBytes(0, 255, 255).withAlpha(0.7),
-                                duration: 3000
+                                duration: 8000
                             }),
                         }
                     })