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