// Do not edit. import { ShaderStore } from "../Engines/shaderStore.js"; import "./ShadersInclude/helperFunctions.js"; const name = "extractHighlightsPixelShader"; const shader = `#include varying vec2 vUV;uniform sampler2D textureSampler;uniform float threshold;uniform float exposure; #define CUSTOM_FRAGMENT_DEFINITIONS void main(void) {gl_FragColor=texture2D(textureSampler,vUV);float luma=dot(LuminanceEncodeApprox,gl_FragColor.rgb*exposure);gl_FragColor.rgb=step(threshold,luma)*gl_FragColor.rgb;}`; // Sideeffect ShaderStore.ShadersStore[name] = shader; /** @internal */ export const extractHighlightsPixelShader = { name, shader }; //# sourceMappingURL=extractHighlights.fragment.js.map