forked from AuroraMiddleware/gtk
bfcd062e8e
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.
12 lines
127 B
GLSL
12 lines
127 B
GLSL
#version 330
|
|
|
|
in vec2 vUv;
|
|
|
|
out vec4 vertexColor;
|
|
|
|
uniform sampler2D map;
|
|
|
|
void main() {
|
|
vertexColor = texture (map, vUv);
|
|
}
|