Advertisement
Giuseppe499

Untitled

Oct 27th, 2015
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.19 KB | None | 0 0
  1. #version 330
  2.  
  3. layout(location = 0) in vec2 position;
  4. layout(location = 1) in vec4 color;
  5.  
  6. out vec4 vColor;
  7.  
  8. void main()
  9. {
  10.     vColor = color;
  11.     gl_Position = vec4(position, 0.0, 1.0);
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement