You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
attribute vec4 a_position;
|
|
attribute vec4 a_color;
|
|
attribute vec2 a_texCoord0;
|
|
|
|
uniform mat4 u_projTrans;
|
|
|
|
varying vec4 vColor;
|
|
varying vec2 vTexCoord;
|
|
varying vec2 vScreenPos;
|
|
|
|
void main() {
|
|
vColor = a_color;
|
|
vTexCoord = a_texCoord0;
|
|
gl_Position = u_projTrans * a_position;
|
|
|
|
}
|