From 7d25d293acb4e901402ca2ec1d933518d6c29cf7 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 10 五月 2024 16:33:24 +0800
Subject: [PATCH] #
---
src/pages/fiber.jsx | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/pages/fiber.jsx b/src/pages/fiber.jsx
index ab82b4d..f205f13 100644
--- a/src/pages/fiber.jsx
+++ b/src/pages/fiber.jsx
@@ -20,20 +20,21 @@
gl={{
logarithmicDepthBuffer: true,
}}
+ onCreated={(state) => (state.gl.shadowMap.autoUpdate = false)}
>
<Lights />
<Camera />
<Sky distance={450000} sunPosition={[0, 1, 0]} inclination={0} azimuth={0.25} />
- <Buildings />
- <TreeGroup />
- <House />
+ {/* <Buildings /> */}
+ {/* <TreeGroup /> */}
+ {/* <House /> */}
<Warehouse />
<OrbitControls />
<Environment background preset="night" />
<Help />
</Canvas>
- <Left />
- <Right />
+ {/* <Left /> */}
+ {/* <Right /> */}
</div>
)
--
Gitblit v1.9.1