mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-04-15 05:12:31 -05:00
16 lines
237 B
Plaintext
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;
|
|
}
|
|
}
|