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.

11 lines
223 B

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