Advertisement
Guest User

Untitled

a guest
Dec 9th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #version 450
  2.  
  3. out gl_PerVertex
  4. {
  5.     vec4 gl_Position;
  6. };
  7.  
  8. layout(location = 0) in vec4 position;
  9.  
  10. void main()
  11. {
  12.     float x = position.x;
  13.     float y = position.y;
  14.     float z = position.z;
  15.     float w = position.w;
  16.     gl_Position = vec4(x, y, z, w);
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement