blob: a940ebccaec04c0d24a7b364c1a5533a23af3cee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#version 130
in vec3 coord2d;
in vec2 tex_coord;
uniform mat4 projection;
uniform mat4 view;
uniform mat4 model;
out vec2 texCoord;
out vec4 color;
void main(){
texCoord = tex_coord;
color = vec4(1.0f, 1.0f, 1.0f, 1.0f);
//color = tex_color;
//gl_Position = ortho * vec4(coord2d.xyz, 1.0f);
gl_Position = projection * view * model * vec4(coord2d.xyz, 1.0f);
}
|