From 96683973f49ab36ba04b50333d4f2bc015a70012 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 09 五月 2024 15:38:00 +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