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