Subversion Repositories Games.Carmageddon

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 pmbaty 1
#version 140
2
#extension GL_ARB_explicit_attrib_location:require
3
 
4
layout (location = 0) in vec3 a_pos;
5
layout (location = 1) in vec3 a_color;
6
layout (location = 2) in vec2 a_uv;
7
 
8
out vec2 v_tex_coord;
9
 
10
void main(void) {
11
   gl_Position = vec4(a_pos, 1.0);
12
   v_tex_coord = a_uv;
13
}