wynnpack-archive/assets/minecraft/shaders/core/render/gui.fsh

21 lines
357 B
Text
Raw Permalink Normal View History

2024-12-07 12:33:02 +00:00
#version 150
#define FRAGMENT_SHADER
#define RENDERTYPE_GUI
#moj_import <gui.glsl>
#moj_import <version.glsl>
in vec4 vertexColor;
uniform vec4 ColorModulator;
out vec4 fragColor;
void main() {
transform.color = vertexColor;
if(transform.color.a == 0.0)
discard;
fragColor = transform.color * ColorModulator;
}