Home | History | Annotate | Download | only in shaders
      1 uniform mat4 u_projTrans;
      2 
      3 attribute vec4 a_position;
      4 attribute vec2 a_texCoord0;
      5 attribute vec4 a_color;
      6 
      7 varying vec4 v_color;
      8 varying vec2 v_texCoord;
      9 
     10 void main() {
     11 	gl_Position = u_projTrans * a_position;
     12 	v_texCoord = a_texCoord0;
     13 	v_color = a_color;
     14 }