UNPKG

307 BJavaScriptView Raw
1var defaultFragment = `varying vec2 vTextureCoord;
2varying vec4 vColor;
3varying float vTextureId;
4uniform sampler2D uSamplers[%count%];
5
6void main(void){
7 vec4 color;
8 %forloop%
9 gl_FragColor = color * vColor;
10}
11`;
12export {
13 defaultFragment as default
14};
15//# sourceMappingURL=texture.frag.mjs.map