aboutsummaryrefslogtreecommitdiff
path: root/shader/fragment.glsl
blob: 6c3e1b1c4f521fd87f9e0dc021888151fae70337 (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 = v_color + texture(u_texture, v_texture_coord);
}