import { fxaaPixels } from "../../PostProcessPass.js";
import { applyThreeCompatPixelKernel } from "./PostProcessTypes.js";
export class FXAAPassThreeCompat {
    name = "FXAAPass";
    enabled = true;
    apply(frame) {
        return applyThreeCompatPixelKernel({ ...frame, sharpness: frame.sharpness + 0.12 }, this.name, (pixels, width, height) => fxaaPixels(pixels, width, height, { edgeThreshold: 0.08, subpixelBlend: 0.68 }).pixels, "fxaaPixels kernel");
    }
}
//# sourceMappingURL=FXAAPass.js.map