1import{p as r}from"./fileTools.pure-O3hflNMy.js";const e="sharpenPixelShader",t=`varying vec2 vUV;uniform sampler2D textureSampler;uniform vec2 screenSize;uniform vec2 sharpnessAmounts; 2#define CUSTOM_FRAGMENT_DEFINITIONS 3void main(void) 4{vec2 onePixel=vec2(1.0,1.0)/screenSize;vec4 color=texture2D(textureSampler,vUV);vec4 edgeDetection=texture2D(textureSampler,vUV+onePixel*vec2(0,-1)) + 5texture2D(textureSampler,vUV+onePixel*vec2(-1,0)) + 6texture2D(textureSampler,vUV+onePixel*vec2(1,0)) + 7texture2D(textureSampler,vUV+onePixel*vec2(0,1)) - 8color*4.0;gl_FragColor=max(vec4(color.rgb*sharpnessAmounts.y,color.a)-(sharpnessAmounts.x*vec4(edgeDetection.rgb,0)),0.);}`;r.ShadersStore[e]||(r.ShadersStore[e]=t);const n={name:e,shader:t};export{n as sharpenPixelShader};
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.