From 9d71e24e7982f6915e5f832512925bee9b245f35 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 20 八月 2024 16:13:26 +0800
Subject: [PATCH] #

---
 src/components/house.jsx |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/components/house.jsx b/src/components/house.jsx
index 3bb80e4..cf96cee 100644
--- a/src/components/house.jsx
+++ b/src/components/house.jsx
@@ -9,7 +9,8 @@
 const House = (props) => {
   const {
     wallThickness = 2,
-    wallOpacity = .9,
+    wallOpacity = .8,
+    roofOpacity = .1,
     width = DEBUG ? 14000 : 1400,
     length = DEBUG ? 12000 : 1200,
     height = DEBUG ? 4000 : 400,
@@ -522,7 +523,7 @@
           metalness={1.0}
           roughness={0.8}
           transparent={true}
-          opacity={wallOpacity}
+          opacity={roofOpacity}
         ></meshPhysicalMaterial>
       </mesh>
       {/* 椤堕儴绗簩灞� */}
@@ -537,7 +538,7 @@
           metalness={1.0}
           roughness={0.8}
           transparent={true}
-          opacity={wallOpacity}
+          opacity={roofOpacity}
         ></meshPhysicalMaterial>
       </mesh>
       {/* 椤堕儴绗笁灞� */}
@@ -552,7 +553,7 @@
           metalness={1.0}
           roughness={0.8}
           transparent={true}
-          opacity={wallOpacity}
+          opacity={roofOpacity}
         ></meshPhysicalMaterial>
       </mesh>
     </group>

--
Gitblit v1.9.1