Advertisement
Guest User

Untitled

a guest
Sep 1st, 2011
1,094
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. uniform mat4 u_projTrans;
  2. attribute vec4 a_position;
  3. attribute vec2 a_texCoords;
  4. varying vec2 v_texCoords;
  5.  
  6. void main()
  7. {  
  8.     v_texCoords = a_texCoords;
  9.     gl_Position =  u_projTrans * a_position;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement