import * as everforest from '../_everforest.module.scss'

export default function Sun({ref}) {
    return (<>
        <directionalLight
            position={[1000, 1000, 1000]}
            lookAt={[0, 0, 0]}
            intensity={Math.PI / 2}
            color={everforest.red}
        />
        <ambientLight intensity={Math.PI / 4} />
        <mesh position={[1000,1000,1000]} ref={ref}>
            <icosahedronGeometry args={[50,50]}/>
            <meshStandardMaterial color={everforest.red} emissive={everforest.red} emissiveIntensity={1} fog={false}/>
        </mesh>
    </>);
}
