From 1edfee5cc92ade87c31c3dd0a88f3bc6b48db568 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期四, 18 四月 2024 17:12:16 +0800
Subject: [PATCH] feat:入场动画

---
 src/views/screen/components/screen-map-three/experience/renderer.js |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/views/screen/components/screen-map-three/experience/renderer.js b/src/views/screen/components/screen-map-three/experience/renderer.js
index 3e7893c..e75b135 100644
--- a/src/views/screen/components/screen-map-three/experience/renderer.js
+++ b/src/views/screen/components/screen-map-three/experience/renderer.js
@@ -13,12 +13,13 @@
         this.instance = new THREE.WebGLRenderer({
             canvas: this.canvas,
             antialias: true,
-            alpha: true
+            alpha: true,
+            logarithmicDepthBuffer: true
         });
-        this.instance.toneMapping = THREE.CineonToneMapping;
-        this.instance.toneMappingExposure = 1.75;
-        this.instance.shadowMap.enabled = true;
-        this.instance.shadowMap.type = THREE.PCFSoftShadowMap;
+        // this.instance.toneMapping = THREE.CineonToneMapping;
+        // this.instance.toneMappingExposure = 1.75;
+        // this.instance.shadowMap.enabled = true;
+        // this.instance.shadowMap.type = THREE.PCFSoftShadowMap;
         this.instance.setSize(this.sizes.width, this.sizes.height);
         this.instance.setPixelRatio(this.sizes.pixelRatio);
     }

--
Gitblit v1.8.0