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>