Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/base
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-03-29 02:54:17 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-03-29 02:54:17 +1100
commit55cc6d793da04e2e5803748fbe339c997bd5f9a1 (patch)
treee534c402174bb4d6b8ef58c4aa7ee699f2796aa4 /source/base
parent8fee64013ef5902b167883523a11706c77b9cfb4 (diff)
wire interface: fetch render vars on init instead of every wire (wtf?)
Diffstat (limited to 'source/base')
-rw-r--r--source/base/StarCellularLighting.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/base/StarCellularLighting.cpp b/source/base/StarCellularLighting.cpp
index cefd751..ebca0ad 100644
--- a/source/base/StarCellularLighting.cpp
+++ b/source/base/StarCellularLighting.cpp
@@ -154,7 +154,7 @@ void CellularLightingCalculator::calculate(Lightmap& output) {
output = Lightmap(arrayMax[0] - arrayMin[0], arrayMax[1] - arrayMin[1]);
- float brightnessLimit = m_config.getFloat("brightnessLimit", 1.5f);
+ float brightnessLimit = m_config.getFloat("brightnessLimit");
if (m_monochrome) {
for (size_t x = arrayMin[0]; x < arrayMax[0]; ++x) {