11 lines
165 B
Plaintext
11 lines
165 B
Plaintext
|
attribute vec2 pos;
|
||
|
attribute vec2 texture;
|
||
|
|
||
|
varying vec2 v_texture;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
v_texture = vec2(texture.s, 1.0 - texture.t);
|
||
|
gl_Position = vec4(pos, 0, 1);
|
||
|
}
|