/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{ColorConversion as o}from"./ColorConversion.glsl.js";import{oitResolution as r}from"../../../shaders/oitResolution.glsl.js";function s(s,n){s.include(o),s.include(r,n),s.code.add("\n    vec3 emissionDimming(in vec3 srcColor, float srcAlpha) {\n      srcColor = rgb2hsv(srcColor);\n      srcColor.g = srcAlpha;\n      srcColor.b = 1.0;\n      return hsv2rgb(srcColor);\n    }\n  ")}export{s as emissionDimming};
