Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #version 330 core
- layout(location = 0) in vec3 vertexPos;
- void main()
- {
- gl_Position = vec4(vertexPos, 1.0);
- }
- #version 330 core
- out vec3 color;
- void main()
- {
- color = vec3(1,0,0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement