Initial commit

This commit is contained in:
2026-02-02 04:50:13 +01:00
commit 5b11698731
22592 changed files with 7677434 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
in vec2 Texcoord;
in vec4 Color;
uniform sampler2D tex;
uniform UBOOL textured;
uniform float alphaRef;
uniform float meshAlpha;
OUTPUT
void main() {
outColor = Color;
if (UBOOL_TEST(textured)) {
vec4 texColor = texture(tex, Texcoord);
outColor.rgba *= texColor.rgba;
outColor.a *= meshAlpha;
if (outColor.a < alphaRef)
discard;
}
}