1import{p as e}from"./fileTools.pure-O3hflNMy.js";import{h as a}from"./helperFunctions-D7-zXdUR.js";const o="extractHighlightsPixelShader",t=`#include<helperFunctions> 2varying vec2 vUV;uniform sampler2D textureSampler;uniform float threshold;uniform float exposure; 3#define CUSTOM_FRAGMENT_DEFINITIONS 4void main(void) 5{gl_FragColor=texture2D(textureSampler,vUV);float luma=dot(LuminanceEncodeApprox,gl_FragColor.rgb*exposure);gl_FragColor.rgb=step(threshold,luma)*gl_FragColor.rgb;}`;e.ShadersStore[o]||(e.ShadersStore[o]=t);const l=[a];for(const r of l)e.IncludesShadersStore[r.name]||(e.IncludesShadersStore[r.name]=r.shader);const i={name:o,shader:t};export{i as extractHighlightsPixelShader};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.