You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
258 B

  1. uniform sampler2D uTexture0;
  2. uniform sampler2D uTexture1;
  3. uniform vec4 uColor;
  4. void main(void)
  5. {
  6. vec4 color;
  7. color =
  8. texture2D(uTexture0, texCoord) *
  9. texture2D(uTexture1, texCoord) *
  10. uColor;
  11. gl_FragColor = color;
  12. }