Home | History | Annotate | Download | only in shaders
      1 in vec4 a_position;
      2 in vec3 a_texCoord0;
      3 
      4 uniform mat4 u_projViewTrans;
      5 uniform mat4 u_modelView;
      6 
      7 out vec4 v_color;
      8 out vec3 v_texCoords;
      9 
     10 void main() {
     11 	v_texCoords = a_texCoord0;
     12 	gl_Position =  u_projViewTrans * u_modelView * a_position;
     13 }
     14