diff --git a/Effects/Dyes/ElementalDyeShader.fx b/Effects/Dyes/ElementalDyeShader.fx index 1bce69bfa1..ed2145be90 100644 --- a/Effects/Dyes/ElementalDyeShader.fx +++ b/Effects/Dyes/ElementalDyeShader.fx @@ -28,18 +28,19 @@ float4 PixelShaderFunction(float4 sampleColor : COLOR0, float2 coords : TEXCOORD float time = (sin(uTime + framedCoords.x * sin(uTime + 3.141 * framedCoords.x) + 1.5707 * framedCoords.y) * 0.5 + 0.5) * 6; float timeFloored = floor(time); - float3 colors[6] = + float3 colors[7] = { float3(241, 149, 49), // Solar float3(88, 201, 169), // Vortex float3(102, 200, 249), // Stardust float3(226, 76, 239) * 0.7, // Nebula float3(102, 200, 249), // Stardust + float3(19, 24, 27), // Meld float3(88, 201, 169) // Vortex }; // Use a multi-lerp to fade between colors and then base them on a trig-based time step. - color.rgb *= lerp(colors[timeFloored] / 255.0, colors[(timeFloored + 1) % 6] / 255.0, time / 6) * 1.6; + color.rgb *= lerp(colors[timeFloored] / 255.0, colors[(timeFloored + 1) % 7] / 255.0, time / 6) * 1.6; return color * sampleColor; } technique Technique1 diff --git a/Effects/Dyes/ElementalDyeShader.xnb b/Effects/Dyes/ElementalDyeShader.xnb index a058d35d1e..d612921ea9 100644 Binary files a/Effects/Dyes/ElementalDyeShader.xnb and b/Effects/Dyes/ElementalDyeShader.xnb differ diff --git a/Items/Dyes/ElementalDye.cs b/Items/Dyes/ElementalDye.cs index 956d3dec64..6940ca7fb3 100644 --- a/Items/Dyes/ElementalDye.cs +++ b/Items/Dyes/ElementalDye.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Dyes AddIngredient(ItemID.VortexDye). AddIngredient(ItemID.NebulaDye). AddIngredient(ItemID.StardustDye). - AddIngredient(). + AddIngredient(). AddTile(TileID.DyeVat). Register(); } diff --git a/Localization/en-US/Mods.CalamityMod.Items.Dyes.hjson b/Localization/en-US/Mods.CalamityMod.Items.Dyes.hjson index 1281da4c90..5ccba37d5d 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Dyes.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Dyes.hjson @@ -231,4 +231,4 @@ TarragonDye: { WulfrumDye: { DisplayName: Wulfrum Dye Tooltip: "" -} \ No newline at end of file +}