1import{S as e}from"./index-BYDO1PNr.js";import{h as i}from"./helperFunctions-DKyJ0K25.js";const o="layerPixelShader",a=`varying vec2 vUV;uniform sampler2D textureSampler;uniform vec4 color; 2#include<helperFunctions> 3#define CUSTOM_FRAGMENT_DEFINITIONS 4void main(void) { 5#define CUSTOM_FRAGMENT_MAIN_BEGIN 6vec4 baseColor=texture2D(textureSampler,vUV); 7#if defined(CONVERT_TO_GAMMA) 8baseColor.rgb=toGammaSpace(baseColor.rgb); 9#elif defined(CONVERT_TO_LINEAR) 10baseColor.rgb=toLinearSpace(baseColor.rgb); 11#endif 12#ifdef ALPHATEST 13if (baseColor.a<0.4) 14discard; 15#endif 16gl_FragColor=baseColor*color; 17#define CUSTOM_FRAGMENT_MAIN_END 18}`;e.ShadersStore[o]||(e.ShadersStore[o]=a);const n=[i];for(const r of n)e.IncludesShadersStore[r.name]||(e.IncludesShadersStore[r.name]=r.shader);const l={name:o,shader:a};export{l as layerPixelShader};
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.