mirror of
https://github.com/PixelGuys/Cubyz.git
synced 2025-08-03 11:17:05 -04:00
15 lines
211 B
GLSL
15 lines
211 B
GLSL
#version 330
|
|
|
|
layout (location=0) out vec4 frag_color;
|
|
uniform sampler2D image;
|
|
|
|
flat in vec4 fColor;
|
|
in vec2 uv;
|
|
|
|
void main() {
|
|
frag_color = texture(image, uv)*fColor;
|
|
if(frag_color.a == 0) {
|
|
discard;
|
|
}
|
|
}
|