From c154dea1d36d8ff300b75ff0f44997f3360f84be Mon Sep 17 00:00:00 2001 From: Altixal <73398287+Altixal@users.noreply.github.com> Date: Mon, 3 Jun 2024 06:24:02 +0700 Subject: [PATCH] unsmoothened lightning trails --- Projectiles/Typeless/AuricLandMineExplosion.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Projectiles/Typeless/AuricLandMineExplosion.cs b/Projectiles/Typeless/AuricLandMineExplosion.cs index efffc49073..13f03590ad 100644 --- a/Projectiles/Typeless/AuricLandMineExplosion.cs +++ b/Projectiles/Typeless/AuricLandMineExplosion.cs @@ -99,8 +99,8 @@ namespace CalamityMod.Projectiles.Typeless GameShaders.Misc["CalamityMod:TeslaTrail"].SetShaderTexture(ModContent.Request("CalamityMod/ExtraTextures/Trails/ZapTrail")); foreach (List points in lightningTrails) { - PrimitiveRenderer.RenderTrail(points, new(WidthFunction, ColorFunction, (_) => Vector2.Zero, shader: GameShaders.Misc["CalamityMod:TeslaTrail"]), 60); - PrimitiveRenderer.RenderTrail(points, new(BackgroundWidthFunction, BackgroundColorFunction, (_) => Vector2.Zero, shader: GameShaders.Misc["CalamityMod:TeslaTrail"]), 60); + PrimitiveRenderer.RenderTrail(points, new(WidthFunction, ColorFunction, smoothen: false, shader: GameShaders.Misc["CalamityMod:TeslaTrail"]), 60); + PrimitiveRenderer.RenderTrail(points, new(BackgroundWidthFunction, BackgroundColorFunction, smoothen: false, shader: GameShaders.Misc["CalamityMod:TeslaTrail"]), 60); } Main.spriteBatch.ExitShaderRegion();