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