component
Sky
Procedural atmosphere (drei Sky).
Add it
npx runek add sky
Pulls core, @react-three/drei@^10.7.7.
Use it
import { Sky } from './runek/Sky'
<Sky position={[0, 0, 0]} />
Props
export interface SkyProps {
/** Direction of the sun; also where the bright spot appears. */
sunPosition?: Vec3
turbidity?: number
rayleigh?: number
}
See it live with editable props in the gallery →.