import { bloomPixels } from "../../PostProcessPass.js";
import { applyThreeCompatPixelKernel } from "./PostProcessTypes.js";
export class BloomPassThreeCompat {
    strength;
    name = "BloomPass";
    enabled = true;
    constructor(strength = 0.45) {
        this.strength = strength;
    }
    apply(frame) {
        return applyThreeCompatPixelKernel({ ...frame, bloom: frame.bloom + this.strength }, this.name, (pixels, width, height) => bloomPixels(pixels, width, height, { threshold: 0.58, intensity: this.strength, radius: 2 }).pixels, "bloomPixels kernel");
    }
}
//# sourceMappingURL=BloomPass.js.map