diff --git a/public/fear/img/steel.png b/public/fear/img/steel.png new file mode 100644 index 0000000..038ce7c Binary files /dev/null and b/public/fear/img/steel.png differ diff --git a/src/app/fear/scene-components/hallway.tsx b/src/app/fear/scene-components/hallway.tsx index c84aabb..9572a9f 100644 --- a/src/app/fear/scene-components/hallway.tsx +++ b/src/app/fear/scene-components/hallway.tsx @@ -70,6 +70,7 @@ interface DoorProps { function Door({ position, rotation }: DoorProps) { const [soundUrl, setSoundUrl] = useState(null); const currentSound = useRef(null); + const steelTex = useTexture('fear/img/steel.png'); useEffect(() => { const interval = setInterval(() => { @@ -91,19 +92,22 @@ function Door({ position, rotation }: DoorProps) { return ( - - - + {/* frame */} + + + - - - + {/* panel */} + + + - - - + {/* handle */} + + + {soundUrl && (