Guest User

Untitled

a guest
Oct 16th, 2023
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #version 330 core
  2.  
  3. layout (location = 0) in vec3 position;
  4. layout (location = 1) in vec3 input_color;
  5. out vec3 output_color;
  6.  
  7. uniform mat4 model;
  8. uniform mat4 view;
  9. uniform mat4 projection;
  10.  
  11. void main() {
  12. gl_Position = projection * view * model * vec4(position, 1.0f);
  13. output_color = input_color;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment