initial commit
[liquidmodel] / sdr / foo.v.glsl
1 attribute vec4 attr_vertex, attr_color;
2 attribute vec2 attr_texcoord;
3
4 uniform mat4 matrix_modelview_projection;
5
6 varying vec4 color;
7 varying vec2 texcoord;
8
9 void main()
10 {
11         gl_Position = matrix_modelview_projection * attr_vertex;
12         texcoord = attr_texcoord;
13         color = attr_color;
14 }