From 4f1728a730b2cf93e9e9f8cfade46a0559e34287 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期二, 14 五月 2024 15:03:43 +0800 Subject: [PATCH] # --- src/components/house.jsx | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/house.jsx b/src/components/house.jsx index 7007e91..b397353 100644 --- a/src/components/house.jsx +++ b/src/components/house.jsx @@ -9,7 +9,7 @@ const House = (props) => { const { wallThickness = 2, - wallOpacity = .6, + wallOpacity = 1, width = DEBUG ? 14000 : 1400, length = DEBUG ? 12000 : 1200, height = DEBUG ? 4000 : 400, @@ -521,6 +521,8 @@ color={'#0069c5'} metalness={1.0} roughness={0.8} + transparent={true} + opacity={wallOpacity} ></meshPhysicalMaterial> </mesh> {/* 椤堕儴绗簩灞� */} @@ -550,7 +552,7 @@ metalness={1.0} roughness={0.8} transparent={true} - opacity={0.8} + opacity={wallOpacity} ></meshPhysicalMaterial> </mesh> </group> -- Gitblit v1.9.1