From 8247ff15ed8ec7c7259f278c401af5e66fd20c20 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sun, 2 Jun 2019 10:42:44 -0400 Subject: [PATCH] Fixed invalid phase weaver shader --- core/src/io/anuke/mindustry/content/Blocks.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/core/src/io/anuke/mindustry/content/Blocks.java b/core/src/io/anuke/mindustry/content/Blocks.java index 999f060388..020128e9e9 100644 --- a/core/src/io/anuke/mindustry/content/Blocks.java +++ b/core/src/io/anuke/mindustry/content/Blocks.java @@ -499,19 +499,7 @@ public class Blocks implements ContentList{ GenericCrafterEntity entity = tile.entity(); Draw.rect(reg(bottomRegion), tile.drawx(), tile.drawy()); - - float progress = 0.5f; - - Shaders.build.region = reg(weaveRegion); - Shaders.build.progress = progress; - Shaders.build.color.set(Pal.accent); - Shaders.build.color.a = entity.warmup; - Shaders.build.time = -entity.totalProgress / 10f; - - Draw.shader(Shaders.build, false); - Shaders.build.apply(); Draw.rect(reg(weaveRegion), tile.drawx(), tile.drawy(), entity.totalProgress); - Draw.shader(); Draw.color(Pal.accent); Draw.alpha(entity.warmup);