diff --git a/assets/mods/basegame/weathers/clut_daylight.kra b/assets/mods/basegame/weathers/clut_daylight.kra index 679d36ea4..8d9f0d28d 100644 --- a/assets/mods/basegame/weathers/clut_daylight.kra +++ b/assets/mods/basegame/weathers/clut_daylight.kra @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:268714b4a20e2694a0616666a288d032473be983b0f72941c06055608c9391c1 -size 117660 +oid sha256:43f1ae82bb80bf450f19a39cde1cea0f4cc9a9450965a5feb8a838484ac090f6 +size 146312 diff --git a/assets/mods/basegame/weathers/clut_daylight.tga b/assets/mods/basegame/weathers/clut_daylight.tga index 286685d25..be6b8866b 100644 --- a/assets/mods/basegame/weathers/clut_daylight.tga +++ b/assets/mods/basegame/weathers/clut_daylight.tga @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:aca191eb12425ab31a0c8ce9817ee65c8711321cf920b7e4e9783e18af3503ff +oid sha256:f42d42892f6f3a8847ea901e401081f2a54e446c8b529824f2151047700af81e size 3618 diff --git a/src/net/torvald/terrarum/weather/WeatherObjectCloud.kt b/src/net/torvald/terrarum/weather/WeatherObjectCloud.kt index ce8569ead..7000d2a50 100644 --- a/src/net/torvald/terrarum/weather/WeatherObjectCloud.kt +++ b/src/net/torvald/terrarum/weather/WeatherObjectCloud.kt @@ -47,7 +47,8 @@ class WeatherObjectCloud( scl(world.worldTime.timeDelta.toFloat()) ) - eigenAlpha = if (posZ >= CLOUD_STAGE_DEPTH) 0f else if (posZ < 1f) posZ.pow(0.5f) else cosh((posZ - CLOUD_STAGE_DEPTH) / (0.75636f * CLOUD_STAGE_DEPTH)) - 1f //-((posZ - 1f) / CLOUD_STAGE_DEPTH) + 1f +// eigenAlpha = if (posZ >= CLOUD_STAGE_DEPTH) 0f else if (posZ < 1f) posZ.pow(0.5f) else cosh((posZ - CLOUD_STAGE_DEPTH) / (0.75636f * CLOUD_STAGE_DEPTH)) - 1f //-((posZ - 1f) / CLOUD_STAGE_DEPTH) + 1f + eigenAlpha = if (posZ >= CLOUD_STAGE_DEPTH) 0f else if (posZ < 1f) posZ.pow(0.5f) else ((posZ - CLOUD_STAGE_DEPTH) / (CLOUD_STAGE_DEPTH - 1)).pow(4f) val alphaMult = if (life < NEWBORN_GROWTH_TIME) life / NEWBORN_GROWTH_TIME