light tweaking part 2

This commit is contained in:
enamoured_ committed 2025-05-24 05:38:02 -04:00
1 parent cd499a20c8
commit fa1ff88d8b
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -32,8 +32,8 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
public override void ModifyLight(int i, int j, ref float r, ref float g, ref float b)
{
r = 0.38f;
g = 0.05f;
b = 0.28f;
g = 0.28f;
b = 0.32f;
}
}
@@ -67,7 +67,7 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
float brightness = 0.9f;
brightness *= (float)MathF.Sin(-j / 40f + Main.GameUpdateCount * 0.01f + i);
Color lilac = new Color(126, 94, 252);
Color mint = new Color(96, 252, 236);
Color mint = new Color(96, 252, 186);
Color value = Color.Lerp(lilac, mint, (MathF.Sin(j / 30f + Main.GameUpdateCount * 0.017f + -i / 40f) + 1f) / 2f);
Color value1 = Color.Lerp(lilac, mint, (MathF.Sin((-j - 100) / 40f + Main.GameUpdateCount * 0.014f + i / 20f) + 1f) / 2f);
r = (value.R + value1.R) / 450f;
+3 -3
View File
@@ -64,9 +64,9 @@ namespace CalamityMod.Tiles.SunkenSea.Ambient
{
public override void ModifyLight(int i, int j, ref float r, ref float g, ref float b)
{
r = 0.458f;
g = 0.196f;
b = 0.387f;
r = 0.38f;
g = 0.28f;
b = 0.32f;
}
}
}