event track loading, no relative events yet
[andemo] / sdr / foo.v.glsl
index 682c177..1e8d9b6 100644 (file)
@@ -1,10 +1,12 @@
-attribute vec4 attr_vertex;
+attribute vec4 attr_vertex, attr_color;
 attribute vec2 attr_texcoord;
 
+varying vec4 color;
 varying vec2 texcoord;
 
 void main()
 {
        gl_Position = attr_vertex;
        texcoord = attr_texcoord;
+       color = attr_color;
 }