/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{ScreenSpacePass as e}from"../views/3d/webgl-engine/core/shaderLibrary/ScreenSpacePass.glsl.js";import{glsl as o}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{Texture2DPassUniform as r}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{NoParameters as s}from"../views/webgl/NoParameters.js";import{ShaderBuilder as t}from"../views/webgl/ShaderBuilder.js";class l extends s{}function a(){const s=new t;s.include(e);return s.fragment.uniforms.add(new r("colorTexture",e=>e.color),new r("splatOutputColor",e=>e.splatColor)),s.fragment.main.add(o`vec4 color = texture(colorTexture, uv);
vec4 splatColor = texture(splatOutputColor, uv);
fragColor = splatColor + color * (1.0 - splatColor.a);`),s}const n=Object.freeze(Object.defineProperty({__proto__:null,GaussianSplatCompositionPassParameters:l,build:a},Symbol.toStringTag,{value:"Module"}));export{l as G,n as S,a as b};
