Files
libretro/bios/ScummVM/ScummVM/extra/shaders/wme_simple_shadow.fragment
2026-03-17 11:53:42 +01:00

16 lines
237 B
Plaintext

in vec2 Texcoord;
uniform sampler2D tex;
uniform float alphaRef;
uniform UBOOL alphaTest;
OUTPUT
void main() {
outColor = texture(tex, Texcoord);
if (UBOOL_TEST(alphaTest) && outColor.a < alphaRef) {
discard;
}
}