aboutsummaryrefslogtreecommitdiff
path: root/assets/texture.glsl
blob: 407c4794d313a6a81cd8f2fbed1286ab3fefedaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#version 150

in vec2 v_uv;

out vec4 frag_color;

uniform sampler2D u_texture;

void main()
{
    frag_color = texture(u_texture, v_uv);
}