From d41e1236ab68c9dce2e66e1f7ef1182c9424d17f Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期日, 05 五月 2024 16:11:32 +0800
Subject: [PATCH] #
---
src/pages/fiber.jsx | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/pages/fiber.jsx b/src/pages/fiber.jsx
index ab82b4d..4c38fbf 100644
--- a/src/pages/fiber.jsx
+++ b/src/pages/fiber.jsx
@@ -20,6 +20,7 @@
gl={{
logarithmicDepthBuffer: true,
}}
+ onCreated={(state) => (state.gl.shadowMap.autoUpdate = false)}
>
<Lights />
<Camera />
--
Gitblit v1.9.1