Advertisement
Guest User

Untitled

a guest
Aug 9th, 2016
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #version 120
  2.  
  3. attribute vec2 position;
  4. varying vec2 UV;
  5.  
  6. void main(void)
  7. {
  8.     UV = (position + 1) / 2;
  9.     gl_Position = vec4(position, 0, 1);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement