From 227e60ca4c927ed9f6b7db5e5c53c45addd1428b Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Mon, 15 Apr 2024 08:03:26 +1000 Subject: new object lighting toggle, log non-master entity render/update exceptions --- source/base/StarCellularLightArray.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/base/StarCellularLightArray.cpp') diff --git a/source/base/StarCellularLightArray.cpp b/source/base/StarCellularLightArray.cpp index 99490ce..49e0917 100644 --- a/source/base/StarCellularLightArray.cpp +++ b/source/base/StarCellularLightArray.cpp @@ -67,7 +67,7 @@ void CellularLightArray::calculatePointLighting(size_t xmin, auto newLight = ScalarLightTraits::subtract(light.value, attenuation); if (ScalarLightTraits::maxIntensity(newLight) > 0.0001f) { if (light.asSpread) - setLight(x, y, lvalue + newLight * 0.25f); + setLight(x, y, lvalue + newLight * 0.15f); else setLight(x, y, lvalue + newLight); } @@ -140,7 +140,7 @@ void CellularLightArray::calculatePointLighting(size_t xmin, auto newLight = ColoredLightTraits::subtract(light.value, attenuation); if (ColoredLightTraits::maxIntensity(newLight) > 0.0001f) { if (light.asSpread) - setLight(x, y, lvalue + newLight * 0.25f); + setLight(x, y, lvalue + newLight * 0.15f); else setLight(x, y, lvalue + newLight); } -- cgit v1.2.3