blit.frag 190 B

12345678910111213
  1. #ifdef GL_ES
  2. precision mediump float;
  3. #endif
  4. uniform sampler2D texture;
  5. varying vec2 uv;
  6. #define fetch(p) texture2D(texture, p).r
  7. void main() {
  8. gl_FragColor = texture2D(texture, uv);
  9. }