From c06d11bbb8c87baaa8d7e70e82217873249a43e7 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 31 七月 2024 17:30:02 +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..3bb80e4 100644
--- a/src/components/house.jsx
+++ b/src/components/house.jsx
@@ -9,7 +9,7 @@
const House = (props) => {
const {
wallThickness = 2,
- wallOpacity = .6,
+ wallOpacity = .9,
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