From 1a57d167f6ce92a30e88eb93cd69b9a6b6de08fa Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期一, 22 四月 2024 16:28:09 +0800 Subject: [PATCH] # --- src/components/light.jsx | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/light.jsx b/src/components/light.jsx index 28c2bdb..cf7f01e 100644 --- a/src/components/light.jsx +++ b/src/components/light.jsx @@ -17,12 +17,12 @@ <ambientLight intensity={0.5} /> <directionalLight color={0xffffff} intensity={3} position={[10, 10, 0]} /> <SpotLight - intensity={DEBUG ? 10 : 5} + intensity={DEBUG ? 10 : 6} color="#ffffff" - position={[3, DEBUG ? 5000 : 900, 2]} + position={[3, DEBUG ? 5000 : 2000, 2]} castShadow penumbra={2} - distance={DEBUG ? 10000 : 5000} + distance={DEBUG ? 10000 : 6000} angle={Math.PI * 0.6} attenuation={5} anglePower={Math.PI / 2} @@ -31,7 +31,7 @@ shadow-camera-far={2000} /> <directionalLight - position={[0, -5, 0]} + position={[0, -100, 0]} color="#ffffff" intensity={.6} /> -- Gitblit v1.9.1