fix electricienne debug model loading

This commit is contained in:
Tom Boullay
2026-05-02 10:58:00 +02:00
parent 0cb5f57182
commit c71cd35f4d
9 changed files with 38 additions and 8 deletions
+5 -1
View File
@@ -1,5 +1,6 @@
import { Suspense } from "react";
import { Canvas } from "@react-three/fiber";
import * as THREE from "three";
import { DebugPerf } from "@/components/debug/DebugPerf";
import { GameUI } from "@/components/ui/GameUI";
import { HandTrackingProvider } from "@/providers/gameplay/HandTrackingProvider";
@@ -8,7 +9,10 @@ import { World } from "@/world/World";
export function HomePage(): React.JSX.Element {
return (
<HandTrackingProvider>
<Canvas camera={{ position: [85, 60, 85], fov: 42 }} shadows>
<Canvas
camera={{ position: [85, 60, 85], fov: 42 }}
shadows={{ type: THREE.PCFShadowMap }}
>
<Suspense fallback={null}>
<World />
<DebugPerf />