UltimateZoneBuilder/Source/Core/Resources/things2d_fill.fp
2019-12-21 01:26:58 +01:00

16 lines
182 B
GLSL

in vec4 Color;
in vec2 UV;
out vec4 FragColor;
uniform vec4 fillColor;
void main()
{
FragColor = fillColor;
#if defined(ALPHA_TEST)
if (FragColor.a < 0.5) discard;
#endif
}