import { Object3DCompat } from "../core/Object3DCompat.js";
import { ColorCompat } from "../math/index.js";
export class LightCompat extends Object3DCompat {
    color;
    intensity;
    type = "Light";
    constructor(color = new ColorCompat(1, 1, 1), intensity = 1) {
        super();
        this.color = color;
        this.intensity = intensity;
    }
}
export class AmbientLightCompat extends LightCompat {
    type = "AmbientLight";
}
export class HemisphereLightCompat extends LightCompat {
    type = "HemisphereLight";
}
export class DirectionalLightCompat extends LightCompat {
    type = "DirectionalLight";
    castShadow = true;
}
export class PointLightCompat extends LightCompat {
    type = "PointLight";
    distance = 0;
    decay = 2;
}
export class SpotLightCompat extends LightCompat {
    type = "SpotLight";
    angle = Math.PI / 3;
    penumbra = 0.1;
    castShadow = true;
}
export class RectAreaLightCompat extends LightCompat {
    type = "RectAreaLight";
    width = 1;
    height = 1;
}
//# sourceMappingURL=index.js.map