2022-12-27 09:22:08 -08:00
|
|
|
#line 2
|
|
|
|
|
|
|
|
/*
|
2023-01-11 20:06:59 -08:00
|
|
|
* Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved.
|
2022-12-27 09:22:08 -08:00
|
|
|
*
|
|
|
|
* WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES
|
|
|
|
* NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED
|
|
|
|
* TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE
|
|
|
|
* SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR.
|
|
|
|
*
|
|
|
|
* NOT FOR COMMERCIAL OR MALICIOUS USE
|
|
|
|
*
|
|
|
|
* (please read the 'LICENSE' file this repo's root directory for more info)
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
precision lowp int;
|
2023-05-06 11:41:29 -07:00
|
|
|
precision mediump float;
|
|
|
|
precision mediump sampler2D;
|
2022-12-27 09:22:08 -08:00
|
|
|
|
|
|
|
in vec2 v_texCoord2f;
|
|
|
|
in vec4 v_color4f;
|
|
|
|
|
2023-01-18 06:30:58 -08:00
|
|
|
layout(location = 0) out vec4 output4f;
|
2022-12-27 09:22:08 -08:00
|
|
|
|
|
|
|
uniform sampler2D u_inputTexture;
|
|
|
|
|
|
|
|
void main() {
|
|
|
|
output4f = texture(u_inputTexture, v_texCoord2f) * v_color4f;
|
|
|
|
if(output4f.a < 0.004) {
|
|
|
|
discard;
|
|
|
|
}
|
|
|
|
}
|