Advertisement
Guest User

Untitled

a guest
May 24th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. uniform mat4 u_projTrans;
  2.  
  3. attribute vec4 a_position;
  4. attribute vec2 a_texCoord0;
  5. attribute vec4 a_color;
  6.  
  7. varying vec4 v_color;
  8. varying vec2 v_texCoord;
  9.  
  10. void main() {
  11. gl_Position = u_projTrans * a_position;
  12. v_texCoord = a_texCoord0;
  13. v_color = a_color;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement