wayvnc/shaders/texture-vertex.glsl

13 lines
171 B
Plaintext
Raw Normal View History

2020-03-05 18:46:27 +00:00
uniform mat2 u_proj;
2019-10-27 22:22:43 +00:00
attribute vec2 pos;
attribute vec2 texture;
varying vec2 v_texture;
void main()
{
v_texture = texture;
2020-03-05 18:46:27 +00:00
gl_Position = vec4(u_proj * pos, 0, 1);
2019-10-27 22:22:43 +00:00
}