diff --git a/assets/minecraft/shaders/core/render/armor.vsh b/assets/minecraft/shaders/core/render/armor.vsh index b6db91a..2d14334 100644 --- a/assets/minecraft/shaders/core/render/armor.vsh +++ b/assets/minecraft/shaders/core/render/armor.vsh @@ -50,7 +50,7 @@ void main() { vec2 size = textureSize(Sampler0, 0); int n = int(2*size.y/size.x); //if theres more than 1 custom armor - if (n > 1) { + if (n > 1 && size.x < 256) { //divide uv by number of armors, it is now on the first armor uv.y /= n; //if color index is within number of armors diff --git a/assets/minecraft/shaders/core/render/glowing.vsh b/assets/minecraft/shaders/core/render/glowing.vsh index d5a7e9b..a3c90b4 100644 --- a/assets/minecraft/shaders/core/render/glowing.vsh +++ b/assets/minecraft/shaders/core/render/glowing.vsh @@ -20,7 +20,7 @@ void main() { //we assume if y >= 2x it is an armor and divide uv //cannot pass tint color here so it's the only option vec2 size = textureSize(Sampler0, 0); - if (size.y >= 2*size.x) { + if (size.y >= 2*size.x && size.x < 256) { uv.y /= 2.*size.y/size.x; } } \ No newline at end of file diff --git a/lessfancypants.zip b/lessfancypants.zip new file mode 100644 index 0000000..d193409 Binary files /dev/null and b/lessfancypants.zip differ