SHARE
TWEET

Untitled

Giuseppe499 Oct 27th, 2015 96 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top