2017-06-08 02:53:40 +00:00
|
|
|
attribute vec4 a_position;
|
|
|
|
attribute vec4 a_color;
|
|
|
|
attribute vec2 a_texCoord0;
|
|
|
|
|
|
|
|
uniform mat4 u_projTrans;
|
2017-06-10 17:34:08 +00:00
|
|
|
uniform vec2 mouse;
|
2017-06-08 02:53:40 +00:00
|
|
|
|
|
|
|
varying vec4 vColor;
|
|
|
|
varying vec2 vTexCoord;
|
|
|
|
void main() {
|
|
|
|
vColor = a_color;
|
|
|
|
vTexCoord = a_texCoord0;
|
|
|
|
|
|
|
|
gl_Position = u_projTrans * a_position;
|
|
|
|
}
|