Advertisement
kuso4ek

post.vs

Jun 5th, 2022
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #version 330
  2.  
  3. layout (location = 0) in vec3 position;
  4. layout (location = 1) in vec2 uv;
  5.  
  6. out vec2 coord;
  7.  
  8. void main()
  9. {
  10.     coord = uv;
  11.     gl_Position = vec4(position, 1.0);
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement