UNPKG

r3f-template

Version:

CLI to scaffold React Three Fiber templates with or without physics( Rapier )

13 lines (11 loc) 238 B
import { Environment } from '@react-three/drei' const Lights = () => { return ( <> <ambientLight /> <pointLight position={[10, 10, 10]} /> <Environment preset="sunset" /> </> ) } export default Lights