gtk2/gdk/resources/glsl/gl3-texture-2d.fs.glsl
Emmanuele Bassi bfcd062e8e Use GLSL 3.30 shaders
We currently ask for anything above 3.2 GL contexts, but we're still
using GLSL 1.50 shaders all over the place. If a GL driver supports GL
3.2+ and GLSL 1.50 only then we'd be in trouble, but the chances of that
happening are really small.
2019-03-27 16:03:43 +00:00

12 lines
127 B
GLSL

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