Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #version 120
- uniform mat4 model;
- uniform vec3 background;
- attribute vec2 position;
- attribute float color;
- varying vec3 vertex_color;
- void main()
- {
- vertex_color = background + color;
- gl_Position = model * vec4(position, 0.0, 1.0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement