postprocess_passthrough.frag 216 B

123456789101112131415
  1. #ifdef OPENGL_ES
  2. precision highp float;
  3. #endif
  4. // Uniforms
  5. uniform sampler2D u_texture;
  6. // Inputs
  7. varying vec2 v_texCoord;
  8. varying vec4 v_color;
  9. void main()
  10. {
  11. gl_FragColor = texture2D(u_texture, v_texCoord);
  12. }