mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftLegends.git
synced 2026-10-22 21:32:19 +01:00
19 lines
353 B
Plaintext
19 lines
353 B
Plaintext
// __multiversion__
|
|
// This signals the loading code to prepend either #version 100 or #version 300 es as apropriate.
|
|
|
|
#include "shaders/fragmentVersionCentroidUV.h"
|
|
|
|
uniform sampler2D TEXTURE_0;
|
|
|
|
void main()
|
|
{
|
|
vec4 color = texture2D( TEXTURE_0, uv );
|
|
|
|
#ifdef ALPHA_TEST
|
|
if(color.a < 0.5)
|
|
discard;
|
|
#endif
|
|
|
|
gl_FragColor = color;
|
|
}
|