Joonas Javanainen 4da1e5f54a
Add explicit OpenGL 3.2 support
Some old OS X environments refuse to work with OpenGL 3.0 even though
they support later versions.
2018-10-28 12:19:17 +02:00

13 lines
154 B
GLSL

#version 150
uniform sampler2D tex;
in vec2 f_uv;
in vec4 f_color;
out vec4 out_color;
void main() {
out_color = f_color * texture(tex, f_uv.st);
}