use of com.tangykiwi.kiwiclient.util.shader.ShaderEffectWrapper in project KiwiClient by TangyKiwi.
the class ESP method onEnable.
@Override
public void onEnable() {
super.onEnable();
try {
shader = new ShaderEffectWrapper(new ShaderEffect(mc.getTextureManager(), mc.getResourceManager(), mc.getFramebuffer(), new Identifier("kiwiclient", "shaders/post/entity_outline.json")));
colorVertexer = new ColorVertexConsumerProvider(shader.getFramebuffer("main"), ShaderCore::getColorOverlayShader);
} catch (JsonSyntaxException | IOException e) {
e.printStackTrace();
super.onDisable();
}
}
Aggregations