2017-07-17 06:46:35 +00:00
|
|
|
attribute vec4 a_position;
|
|
|
|
attribute vec4 a_color;
|
|
|
|
attribute vec2 a_texCoord0;
|
|
|
|
|
|
|
|
uniform mat4 u_projTrans;
|
|
|
|
|
2017-07-18 04:52:58 +00:00
|
|
|
varying vec4 vColor;
|
2017-07-17 06:46:35 +00:00
|
|
|
varying vec2 vTexCoord;
|
2017-07-18 04:52:58 +00:00
|
|
|
|
2017-07-17 06:46:35 +00:00
|
|
|
void main() {
|
2017-07-18 04:52:58 +00:00
|
|
|
vColor = a_color;
|
2017-07-17 06:46:35 +00:00
|
|
|
vTexCoord = a_texCoord0;
|
|
|
|
gl_Position = u_projTrans * a_position;
|
|
|
|
}
|