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