// Do not edit. import { ShaderStore } from "../Engines/shaderStore.js"; const name = "highlightsPixelShader"; const shader = `varying vec2 vUV;uniform sampler2D textureSampler;const vec3 RGBLuminanceCoefficients=vec3(0.2126,0.7152,0.0722); #define CUSTOM_FRAGMENT_DEFINITIONS void main(void) {vec4 tex=texture2D(textureSampler,vUV);vec3 c=tex.rgb;float luma=dot(c.rgb,RGBLuminanceCoefficients);gl_FragColor=vec4(pow(c,vec3(25.0-luma*15.0)),tex.a); }`; // Sideeffect ShaderStore.ShadersStore[name] = shader; /** @internal */ export const highlightsPixelShader = { name, shader }; //# sourceMappingURL=highlights.fragment.js.map