Enhance shadow handling and visibility settings across components

This commit is contained in:
2025-07-28 13:05:32 +05:30
parent 10e7f2f8c4
commit 795c69a3d4
6 changed files with 36 additions and 19 deletions

View File

@@ -132,6 +132,7 @@ function Floor({ room }: { room: Point[] }) {
<mesh name="Wall-Floor" rotation={[Math.PI / 2, 0, 0]}>
<Extrude
receiveShadow
castShadow
name="Wall-Floor"
args={[shape, { depth: Constants.floorConfig.height, bevelEnabled: false }]}
position={[0, 0, 0]}