aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-02-05 12:02:40 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-02-05 12:02:40 +0200
commite15de8b70dc13e24aefca7fdd2a17be5f150ae49 (patch)
tree0cb84380c1bf3b3f20ca31f8f2458f6c76652296 /src
parent61016962ee147636800e9c9375131b5087801b0c (diff)
downloadminetest-e15de8b70dc13e24aefca7fdd2a17be5f150ae49.tar.gz
minetest-e15de8b70dc13e24aefca7fdd2a17be5f150ae49.tar.bz2
minetest-e15de8b70dc13e24aefca7fdd2a17be5f150ae49.zip
Modify light values to work a bit better with non-smooth lighting
Diffstat (limited to 'src')
-rw-r--r--src/light.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/light.cpp b/src/light.cpp
index 93e498620..89bddb1c4 100644
--- a/src/light.cpp
+++ b/src/light.cpp
@@ -21,7 +21,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#if 1
/*
-Made using this and adding 230 as the second last one:
+Made using this and:
+- adding 220 as the second last one
+- replacing the third last one (212) with 195
#!/usr/bin/python
@@ -63,8 +65,8 @@ u8 light_decode_table[LIGHT_MAX+1] =
121,
146,
176,
-212,
-230,
+195,
+220,
255,
};
#endif