aboutsummaryrefslogtreecommitdiff
path: root/shader/fragment.glsl
blob: 4ada53975ee482f3924e2ceb7268d095513cfb60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#version 400 core

in vec4 v_color;
in vec2 v_texture_coord;

out vec4 out_color;

uniform sampler2D u_texture;

void main()
{
    out_color = texture(u_texture, v_texture_coord);
}