Advertisement
Guest User

Untitled

a guest
Feb 9th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #version 400
  2.  
  3. uniform mat4 mView, mProjection, mModel;
  4.  
  5. layout(location = 0) in vec4 vVertex;
  6. layout(location = 1) in vec4 vColor;
  7.  
  8. out vec4 vColorVs;
  9.  
  10. void main()
  11. {
  12.     vColorVs = vColor;
  13.     gl_Position = mProjection * mView * mModel * vVertex;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement