summaryrefslogtreecommitdiff
path: root/txtgameengine/builtin_res/shaders/font/fragment.glsl
blob: f670d5772fda411034248f5ebcf450ebd0391680 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#version 330 core

in vec2 UV;

out vec4 color;

uniform sampler2D textureSampler;

void main() {
    vec4 fontPixel = texture(textureSampler, UV);
    color = fontPixel;
}