Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. #version 330 core
  2.  
  3. layout (location = 0) in vec3 aPos;
  4. in vec3 color;
  5. out vec3 color2;
  6.  
  7.  
  8. void main()
  9. {
  10.     color2=color;
  11.     gl_Position = vec4(aPos.x, aPos.y, aPos.z, 1.0);
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement