passthrough.vp 254 B

123456789101112131415161718
  1. #version 140
  2. in highp vec4 position;
  3. in mediump vec2 texcoord0;
  4. out mediump vec2 var_texcoord0;
  5. uniform vs_uniforms
  6. {
  7. highp mat4 view_proj;
  8. };
  9. void main()
  10. {
  11. gl_Position = view_proj * vec4(position.xyz, 1.0);
  12. var_texcoord0 = texcoord0;
  13. }