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.

10 lines
248 B

  1. {$MAIN}
  2. {$UNIFORM 'sampler2D' 'uTexture0'}
  3. {$UNIFORM 'sampler2D' 'uTexture1'}
  4. {$UNIFORM 'vec4' 'uColor'}
  5. gl_FragColor =
  6. texture2D(uTexture0, texCoord) *
  7. texture2D(uTexture1, texCoord) *
  8. uColor;
  9. {$END}