gtk/gdk/resources/glsl/gl2-texture-rect.vs.glsl
Emmanuele Bassi 55537cccbd gdk: Move GLSL shaders into GResource
Having the shaders inlined as C strings makes them harder to edit and
maintain.
2016-04-25 12:29:36 +01:00

14 lines
172 B
GLSL

#version 130
uniform sampler2DRect map;
attribute vec2 position;
attribute vec2 uv;
varying vec2 vUv;
void main() {
gl_Position = vec4(position, 0, 1);
vUv = uv;
}