mirror of
https://git.sr.ht/~martijnbraam/megapixels
synced 2023-12-14 05:32:55 +01:00
17 lines
222 B
GLSL
17 lines
222 B
GLSL
#ifdef GL_ES
|
|
precision mediump float;
|
|
#endif
|
|
|
|
attribute vec2 vert;
|
|
attribute vec2 tex_coord;
|
|
|
|
uniform mat3 transform;
|
|
|
|
varying vec2 uv;
|
|
|
|
void main() {
|
|
uv = tex_coord;
|
|
|
|
gl_Position = vec4(transform * vec3(vert, 1), 1);
|
|
}
|