diff --git a/web/src/lib/components/mountain.svelte b/web/src/lib/components/mountain.svelte index 537dfaf9..41c6db98 100644 --- a/web/src/lib/components/mountain.svelte +++ b/web/src/lib/components/mountain.svelte @@ -14,9 +14,9 @@ Command: npx @threlte/gltf@2.0.1 static/models/mountain.glb export const ref = new Group(); export let rotation: number = 0; - let bridge: Mesh; + let dog: Mesh; - const gltf = useGltf("/models/mountain.glb"); + const gltf = useGltf("/models/mountain.glb", { useDraco: true }); const component = forwardEventHandlers(); @@ -79,18 +79,36 @@ Command: npx @threlte/gltf@2.0.1 static/models/mountain.glb + + + + + @@ -175,14 +193,22 @@ Command: npx @threlte/gltf@2.0.1 static/models/mountain.glb angle={Math.PI / 5} color="#ffffff" intensity={$campfireLightIntensity * 1.5} - target={bridge} + target={dog} > +