aboutsummaryrefslogtreecommitdiff
path: root/shaders/fragment.frag
blob: ee6106d0fd1a1bbdaf9d8da405aecb80faf523d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#version 330 core

in vec2 texcoord_frag;

out vec4 out_color;

uniform sampler2D tex;

void main() {
    out_color = texture(tex, texcoord_frag);
    //out_color = vec4(1.0, 0.0, 0.0, 1.0);
}