Skip to content

Commit

Permalink
fix: award glb light
Browse files Browse the repository at this point in the history
  • Loading branch information
jimcase committed May 28, 2024
1 parent 1895205 commit 0a861ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/summit-2024/src/components/GLBViewer/GLBViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ const GLBViewer: React.FC<GLBViewerProps> = ({ glbUrl, height, width }) => {
far: 1000,
}}
>
<ambientLight intensity={0.5} />
<ambientLight intensity={1} />
<spotLight position={[10, 10, 10]} angle={0.15} penumbra={1} />
<pointLight position={[-10, -10, -10]} />
<pointLight position={[0, 0, 10]} intensity={1.5} />
<Model
glbUrl={glbUrl}
isInteracting={isInteracting}
setIsInteracting={setIsInteracting}
/>
<OrbitControls enableZoom={false} enabled={true} />
<OrbitControls enableZoom={true} maxDistance={4} minDistance={3} enabled={true} />
</Canvas>
</div>
);
Expand Down

0 comments on commit 0a861ef

Please sign in to comment.