Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const Box = () => {

const App: Component = () => {
return (
<Canvas camera={{ position: [0, 0, 5] }}>
<Canvas defaultCamera={{ position: [0, 0, 5] }}>
<Entity from={THREE.AmbientLight} args={[0.5]} />
<Entity from={THREE.PointLight} position={[10, 10, 10]} />
<Box />
Expand Down Expand Up @@ -127,7 +127,7 @@ const Box = () => {

const App: Component = () => {
return (
<Canvas camera={{ position: [0, 0, 5] }}>
<Canvas defaultCamera={{ position: [0, 0, 5] }}>
<T.AmbientLight intensity={0.5} />
<T.PointLight position={[10, 10, 10]} />
<Box />
Expand Down