@takram/three-atmosphere
Version:
A Three.js and R3F implementation of Precomputed Atmospheric Scattering
13 lines (12 loc) • 512 B
TypeScript
import { ThreeElement } from '@react-three/fiber';
import { ComponentPropsWithoutRef, FC, Ref } from 'react';
import { SunDirectionalLight } from '../SunDirectionalLight';
declare module '@react-three/fiber' {
interface ThreeElements {
sunDirectionalLight: ThreeElement<typeof SunDirectionalLight>;
}
}
export interface SunLightProps extends Omit<ComponentPropsWithoutRef<'sunDirectionalLight'>, 'target'> {
ref?: Ref<SunDirectionalLight>;
}
export declare const SunLight: FC<SunLightProps>;