This commit is contained in:
mountaindrew10 committed 2023-01-31 07:46:45 -06:00
commit ba5cf128f8
1 file changed
+3 -1
+3 -1
View File
@@ -147,8 +147,10 @@ namespace CalamityMod.Tiles.Ores
{
if (pos == positionFlower)
{
float pseudoRandom = MathF.Abs(MathF.Sin((positionFlower.X * 1294.2943f) + (positionFlower.Y * 96.454f))) % 1;
float brightness = 0.7f;
brightness *= MathF.Sin(Main.GameUpdateCount * 0.02f);
brightness *= (float)MathF.Sin(j / 14f + Main.GameUpdateCount * 0.017f);
brightness *= (float)MathF.Sin(i / 14f + Main.GameUpdateCount * 0.017f);
brightness += 0.3f;
r = 0.83f;
g = 0.16f;