import{S as r}from"./index-T8LZyOXI.js";import"./index-BkylzejB.js";const e="copyTexture3DLayerToTexturePixelShader",o=`precision highp sampler3D;uniform sampler3D textureSampler;uniform int layerNum;varying vec2 vUV;void main(void) {vec3 coord=vec3(0.0,0.0,float(layerNum));coord.xy=vec2(vUV.x,vUV.y)*vec2(textureSize(textureSampler,0).xy);vec3 color=texelFetch(textureSampler,ivec3(coord),0).rgb;gl_FragColor=vec4(color,1);}
`;r.ShadersStore[e]||(r.ShadersStore[e]=o);const c={name:e,shader:o};export{c as copyTexture3DLayerToTexturePixelShader};
