gtk2/gdk/resources/glsl/gl3-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

12 lines
129 B
GLSL

#version 150
in vec2 vUv;
out vec4 vertexColor;
uniform sampler2D map;
void main() {
vertexColor = texture2D (map, vUv);
}