import './chunks.glsl'; export declare const fragmentShader = "\n\t#include \n\n\t#include \n\t#include \n\t#include \n\t#include \n\n\t#include \n\t#include \n\tvarying vec2 vUv;\n\t// varying vec3 vViewPosition;\n\t// varying vec3 vNormal;\n\n\t// See https://github.com/mrdoob/three.js/pull/22409/commits/16f30f3b726865421f44ccb704f48b0dc047650b#diff-d508a837567db31e767ebb45113fb66e42cb0f786aa22d3d84ddce93a564dfbd\n\tvoid main() {\n\t\tvec3 outgoingLight = vColor.xyz;\n\t\t// #include \n\t\t#include \n\n\t\t// vec4 lightColor = vec4(1.0, 1.0, 1.0, 1.0);\n\t\t// vec3 norm = normalize(vNormal);\n\t\t// float nDotL = clamp(dot(vec3(0.0, 1.0, 0.0), norm), 0.0, 1.0);\n\n\t\t// vec4 diffuseColor = lightColor * nDotL * vColor;\n\t\t// diffuseColor.w = 1.0;\n\n\t\t#ifdef HAS_TEXTURE\n\t\t\tvec4 p_texture = texture2D( tex, vUv );\n\t\t\t#ifdef USE_PARTICLE_ALPHA_TEST\n\t\t\t\tif ( p_texture.w < customAlphaTest ) discard;\n\t\t\t#endif\n\n\t\t\toutgoingLight = vColor.xyz * p_texture.xyz;\n\t\t\tgl_FragColor = vec4( outgoingLight.xyz, p_texture.w * vColor.w );\n\t\t#else\n\t\t\tgl_FragColor = vColor;\n\t\t#endif\n\n\n\t\t#include \n\t}\n";