8 lines
152 B
GLSL
8 lines
152 B
GLSL
precision mediump float;
|
|
attribute vec2 a_pos;
|
|
varying vec2 v_tc;
|
|
|
|
void main() {
|
|
gl_Position = vec4(a_pos * 2. - 1., 0.0, 1.0);
|
|
v_tc = a_pos;
|
|
}
|