2021-04-18 15:13:56 +02:00
|
|
|
#ifdef GL_ES
|
2021-04-15 15:14:20 +02:00
|
|
|
precision mediump float;
|
2021-04-18 15:13:56 +02:00
|
|
|
#endif
|
2021-04-15 15:14:20 +02:00
|
|
|
|
|
|
|
attribute vec2 vert;
|
|
|
|
attribute vec2 tex_coord;
|
|
|
|
|
2021-05-03 16:06:55 +02:00
|
|
|
uniform mat3 transform;
|
|
|
|
|
2021-04-15 15:14:20 +02:00
|
|
|
varying vec2 uv;
|
|
|
|
|
|
|
|
void main() {
|
|
|
|
uv = tex_coord;
|
|
|
|
|
2021-05-03 16:06:55 +02:00
|
|
|
gl_Position = vec4(transform * vec3(vert, 1), 1);
|
2021-04-15 15:14:20 +02:00
|
|
|
}
|