import{DirectionalLight,Color,Fog,AmbientLight}from"three";import{definePlugin}from"../../core/extension";export default definePlugin("light-sky",{setup(a={},b){b.scene.background=new Color().setHSL(.6,0,1),b.scene.fog=new Fog(b.scene.background,1,1e4);const c=new AmbientLight(16777215,1);b.scene.add(c);const d=new DirectionalLight(16777215,3);d.color.set(16777215),d.position.set(0,1e3,0),d.position.multiplyScalar(30),b.scene.add(d)}});