attribute vec4 a_Position; attribute vec4 a_Color; uniform mat4 u_ModelViewMatrix; varying vec4 v_Color; void main(){ gl_Position = u_ModelViewMatrix * a_Position; v_Color = a_Color; }
//#ifdef GL_ES precision mediump float; //#endif varying vec4 v_Color; void main(){ gl_FragColor = v_Color; }