Advertisement
Guest User

vs.glsl + ps.glsl

a guest
Aug 23rd, 2013
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #version 330 core
  2.  
  3. layout(location = 0) in vec3 vertexPos;
  4.  
  5. void main()
  6. {
  7.     gl_Position = vec4(vertexPos, 1.0);
  8. }
  9.  
  10. #version 330 core
  11.  
  12. out vec3 color;
  13.  
  14. void main()
  15. {
  16.     color = vec3(1,0,0);
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement