shadow$provide.module$node_modules$pixi_DOT_js$lib$advanced_blend_modes$PinLightBlend = function(global, require, module, exports) {
  global = require("module$node_modules$pixi_DOT_js$lib$extensions$Extensions");
  require = require("module$node_modules$pixi_DOT_js$lib$filters$blend_modes$BlendModeFilter");
  "use strict";
  class PinLightBlend extends require.BlendModeFilter {
    constructor() {
      super({gl:{functions:"\n                float pinLight(float base, float blend)\n                {\n                    return (blend \x3c\x3d 0.5) ? min(base, 2.0 * blend) : max(base, 2.0 * (blend - 0.5));\n                }\n\n                vec3 blendPinLight(vec3 base, vec3 blend, float opacity)\n                {\n                    vec3 blended \x3d vec3(\n                        pinLight(base.r, blend.r),\n                        pinLight(base.g, blend.g),\n                        pinLight(base.b, blend.b)\n                    );\n\n                    return (blended * opacity + base * (1.0 - opacity));\n                }\n            ", 
      main:"\n                finalColor \x3d vec4(blendPinLight(back.rgb, front.rgb, front.a), blendedAlpha) * uBlend;\n                "}, gpu:{functions:"\n                fn pinLight(base: f32, blend: f32) -\x3e f32\n                {\n                    return select(max(base,2.0*(blend-0.5)), min(base,2.0*blend), blend \x3c\x3d 0.5);\n                }\n\n                fn blendPinLight(base:vec3\x3cf32\x3e,  blend:vec3\x3cf32\x3e,  opacity:f32) -\x3e vec3\x3cf32\x3e\n                {\n                    let blended \x3d vec3\x3cf32\x3e(\n                        pinLight(base.r, blend.r),\n                        pinLight(base.g, blend.g),\n                        pinLight(base.b, blend.b)\n                    );\n\n                    return (blended * opacity + base * (1.0 - opacity));\n                }\n                ", 
      main:"\n                out \x3d vec4\x3cf32\x3e(blendPinLight(back.rgb, front.rgb, front.a), blendedAlpha) * blendUniforms.uBlend;\n                "}});
    }
  }
  PinLightBlend.extension = {name:"pin-light", type:global.ExtensionType.BlendMode};
  exports.PinLightBlend = PinLightBlend;
};

//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$advanced_blend_modes$PinLightBlend.js.map
