declare const _default: "#version 300 es\n#define SHADER_NAME texture-fragment-shader\n\nin vec3 cameraPosition;\n\nin vec4 vPosition;\nin vec3 vNormal;\nin vec2 vTexCoords;\nin vec4 vColor;\n\nout vec4 fragColor;\n\nvoid main(void) {\n   vec3 normal = vNormal;\n\n   if (!triangles.smoothShading) {\n      normal = normalize(cross(dFdx(vPosition.xyz), dFdy(vPosition.xyz)));\n   }\n\n   vec4 color = vColor;\n   \n   // Use two sided phong lighting. This has no effect if \"material\" property is not set.\n   vec3 lightColor = lighting_getLightColor(color.rgb, cameraPosition, vPosition.xyz, normal);\n\n   fragColor = vec4(lightColor, vColor.a);\n   DECKGL_FILTER_COLOR(fragColor, geometry);\n}\n";
export default _default;
