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