Skip to content

Commit 31af3cd

Browse files
update packages
1 parent e27b17b commit 31af3cd

File tree

3 files changed

+449
-400
lines changed

3 files changed

+449
-400
lines changed

example/Lights.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ import * as THREE from "three";
55
export default function Lights() {
66
const directionalLightRef = useRef<THREE.DirectionalLight>();
77

8-
useHelper(directionalLightRef, THREE.DirectionalLightHelper, 1);
8+
// useHelper(directionalLightRef, THREE.DirectionalLightHelper, 1);
99

1010
return (
1111
<>
1212
<directionalLight
1313
castShadow
1414
shadow-normalBias={0.06}
1515
position={[20, 30, 10]}
16-
intensity={1.5}
16+
intensity={5}
1717
shadow-mapSize={[1024, 1024]}
1818
shadow-camera-near={1}
1919
shadow-camera-far={50}
@@ -24,7 +24,7 @@ export default function Lights() {
2424
name="followLight"
2525
ref={directionalLightRef}
2626
/>
27-
<ambientLight intensity={0.5} />
27+
<ambientLight intensity={2} />
2828
</>
2929
);
3030
}

0 commit comments

Comments
 (0)