17 lines
220 B
Plaintext
17 lines
220 B
Plaintext
|
#version 130
|
||
|
|
||
|
in vec3 pos;
|
||
|
in vec4 color;
|
||
|
in vec2 tex_coord;
|
||
|
|
||
|
out vec4 _color;
|
||
|
out vec2 _tex_coord;
|
||
|
|
||
|
uniform mat4 proj;
|
||
|
|
||
|
void main() {
|
||
|
gl_Position = proj * vec4(pos, 1.0);
|
||
|
_color = color;
|
||
|
_tex_coord = tex_coord;
|
||
|
}
|