src/pages/base.jsx
@@ -28,14 +28,14 @@ const Base = () => { return ( <div style={{ height: '500px', width: '500px' }}> <div style={{ height: '100%', width: '100%' }}> <Canvas> <ambientLight intensity={Math.PI / 2} /> <spotLight position={[10, 10, 10]} angle={0.15} penumbra={1} decay={0} intensity={Math.PI} /> <pointLight position={[-10, -10, -10]} decay={0} intensity={Math.PI} /> <Box position={[0, 0, 0]} /> <OrbitControls /> <Environment preset="city" /> <Environment background preset="warehouse" /> </Canvas> </div>