diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-03-29 02:54:17 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-03-29 02:54:17 +1100 |
commit | 55cc6d793da04e2e5803748fbe339c997bd5f9a1 (patch) | |
tree | e534c402174bb4d6b8ef58c4aa7ee699f2796aa4 /source/base | |
parent | 8fee64013ef5902b167883523a11706c77b9cfb4 (diff) |
wire interface: fetch render vars on init instead of every wire (wtf?)
Diffstat (limited to 'source/base')
-rw-r--r-- | source/base/StarCellularLighting.cpp | 2 |
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) { |