UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

2 lines (1 loc) 224 B
export default "uniform sampler2D texture1;\nuniform sampler2D texture2;\nvarying vec2 vUv;\n\nvoid main() {\n\n vec4 t1 = texture2D( texture1, vUv);\n vec4 t2 = texture2D( texture2, vUv);\n\n gl_FragColor = t1 + t2;\n\n}";