mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-10 05:41:51 +09:00
new world and worldgen load scr update
This commit is contained in:
@@ -52,8 +52,9 @@ open class FancyWorldReadLoadScreen(screenToBeLoaded: IngameInstance, private va
|
||||
|
||||
val baseTileTex = arrayOf(
|
||||
CommonResourcePool.getAsTexture("basegame.gui/loadscrlayer01"),
|
||||
CommonResourcePool.getAsTexture("basegame.gui/loadscrlayer02"),
|
||||
CommonResourcePool.getAsTexture("basegame.gui/loadscrlayer03"),
|
||||
CommonResourcePool.getAsTexture("basegame.gui/loadscrlayer03"),
|
||||
CommonResourcePool.getAsTexture("basegame.gui/loadscrlayer02"),
|
||||
CommonResourcePool.getAsTexture("basegame.gui/loadscrlayer04"),
|
||||
CommonResourcePool.getAsTexture("basegame.gui/loadscrlayer05"),
|
||||
CommonResourcePool.getAsTexture("basegame.gui/loadscrlayer05"),
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user