shadow$provide.module$node_modules$pixi_DOT_js$lib$filters$defaults$blur$gl$generateBlurFragSource = function(global, require, module, exports) {
  var _const = require("module$node_modules$pixi_DOT_js$lib$filters$defaults$blur$const");
  "use strict";
  exports.generateBlurFragSource = function(kernelSize) {
    const kernel = _const.GAUSSIAN_VALUES[kernelSize], halfLength = kernel.length;
    let blurLoop = "";
    for (let i = 0; i < kernelSize; i++) {
      const prefix = 0 === i ? "finalColor \x3d " : "    + ";
      var value = i < halfLength ? i : kernelSize - i - 1;
      value = "texture(uTexture, vBlurTexCoords[%index%]) * %value%".replace("%index%", i.toString()).replace("%value%", kernel[value].toString());
      blurLoop += `${prefix}${value}
`;
    }
    return "in vec2 vBlurTexCoords[%size%];\nuniform sampler2D uTexture;\nout vec4 finalColor;\nvoid main(void)\n{\n    %blur%\n}".replace("%blur%", `${blurLoop};`).replace("%size%", kernelSize.toString());
  };
};

//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$filters$defaults$blur$gl$generateBlurFragSource.js.map
