/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
function r(r){r.code.add("\n    vec3 emissionDimming(vec3 srcColor, float srcAlpha) {\n      srcColor = clamp(srcColor, vec3(0.0), srcColor);\n\n      return srcAlpha > 1.0\n        ? mix(vec3(1.0), srcColor, 1.0 / srcAlpha)\n        : mix(vec3(1.0), srcColor, srcAlpha);\n    }\n  ")}export{r as EmissionDimming};
