From 4cb8a1f7eec739c77ff4794f09000790fc1a11dd Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 11 六月 2024 14:38:30 +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