summaryrefslogtreecommitdiff
path: root/data/shaders/default-fragment.glsl
blob: 21bb7566a2c57be9db3123b4f204e9f243b08a82 (plain)
1
2
3
4
5
6
7
8
9
#version 130

in vec2 frag_tex;
uniform vec4 color;
uniform sampler2D color_texture;

void main (void) {
    gl_FragColor = texture2D(color_texture, frag_tex) * color;
}