mirror of
https://github.com/libretro/devilutionX.git
synced 2026-11-09 10:59:40 -10:00
Add glow to Crypt lava tiles
This commit is contained in:
1 parent
f30c42c3a8
commit
4db65d94de
4 files changed
+31
-3
No files matched your search
+1
-1
@@ -381,7 +381,7 @@ void MakeLightTable()
|
||||
float scaled;
|
||||
if (IsAnyOf(leveltype, DTYPE_NEST, DTYPE_CRYPT)) {
|
||||
// quardratic falloff with over exposure
|
||||
const float brightness = radius * 1.5;
|
||||
const float brightness = radius * 1.25;
|
||||
scaled = factor * factor * brightness + (maxDarkness - brightness);
|
||||
scaled = std::max(maxBrightness, scaled);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user