aboutsummaryrefslogtreecommitdiff
path: root/res/shaders/face.fs
blob: d82949eca324c678765b29ab9f92be41177afb70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#version 420 core

in vec3 _f_texture;

layout (binding = 1) uniform sampler2DArray _u_texture;

out vec4 _o_colour;

void main() {
    vec4 texture = texture(_u_texture, _f_texture);
    if (texture.a < 0.60f) {
        discard;
    }
    _o_colour = texture;
}