2020-03-26 20:23:15 +00:00
|
|
|
attribute vec2 pos;
|
|
|
|
attribute vec2 texture;
|
|
|
|
|
|
|
|
varying vec2 v_texture;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2020-03-27 19:32:30 +00:00
|
|
|
v_texture = vec2(texture.s, 1.0 - texture.t);
|
2020-03-26 22:29:16 +00:00
|
|
|
gl_Position = vec4(pos, 0, 1);
|
2020-03-26 20:23:15 +00:00
|
|
|
}
|