13 lines
227 B
GLSL
Executable File
13 lines
227 B
GLSL
Executable File
attribute vec4 a_position;
|
|
attribute vec4 a_color;
|
|
attribute vec2 a_texCoord0;
|
|
|
|
uniform mat4 u_projTrans;
|
|
|
|
varying vec2 vTexCoord;
|
|
void main() {
|
|
vTexCoord = a_texCoord0;
|
|
|
|
gl_Position = u_projTrans * a_position;
|
|
}
|