import { fxaaPixels } from "../../PostProcessPass.js";
import { applyThreeCompatPixelKernel } from "./PostProcessTypes.js";
export class SMAAPassThreeCompat {
    name = "SMAAPass";
    enabled = true;
    apply(frame) {
        return applyThreeCompatPixelKernel({ ...frame, sharpness: frame.sharpness + 0.16 }, this.name, (pixels, width, height) => fxaaPixels(pixels, width, height, { edgeThreshold: 0.06, subpixelBlend: 0.72 }).pixels, "FXAA-backed compatibility antialiasing kernel");
    }
}
//# sourceMappingURL=SMAAPass.js.map