gtk2/gdk/resources/glsl/gl2-texture-2d.fs.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

10 lines
112 B
GLSL

#version 130
varying vec2 vUv;
uniform sampler2D map;
void main() {
gl_FragColor = texture2D (map, vUv);
}