passthrough.fp 212 B

1234567891011121314
  1. #version 140
  2. in mediump vec2 var_texcoord0;
  3. out vec4 out_fragColor;
  4. uniform mediump sampler2D tex0;
  5. void main()
  6. {
  7. vec4 color = texture(tex0, var_texcoord0.xy);
  8. out_fragColor = vec4(color.rgb,1.0);
  9. }