new world and worldgen load scr update

This commit is contained in:
minjaesong
2024-09-10 18:38:39 +09:00
parent 29c1a69222
commit 180d36eb10
6 changed files with 11 additions and 10 deletions

View File

@@ -538,7 +538,7 @@ object LightmapRenderer {
}*/
if (_thisFluid.type != Fluid.NULL) {
val fluidAmount = _thisFluid.amount.coerceIn(0f, 1f)
val fluidAmount = _thisFluid.amount.coerceIn(0f, 1f).pow(0.5f)
_thisTileLuminosity.set(_thisTerrainProp.getLumCol(worldX, worldY))
_thisTileLuminosity.maxAndAssign(_thisFluidProp.lumCol.cpy().mul(fluidAmount))