summaryrefslogtreecommitdiffstats
path: root/cwd/assets/altcraft/shaders/frag/rmltex.fs
blob: d885b3b2c1ae6b742847da28fb229e6e6f324ec8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#version 330 core

uniform sampler2D fontTexture;

in VS_OUT {
    vec4 color;
    vec2 tex_coord;
} fs_in;

out vec4 fragColor;

void main() {
    fragColor = fs_in.color * texture(fontTexture, fs_in.tex_coord);
}