From: Perttu Ahola Date: Sun, 5 Feb 2012 10:02:40 +0000 (+0200) Subject: Modify light values to work a bit better with non-smooth lighting X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=e15de8b70dc13e24aefca7fdd2a17be5f150ae49;p=zefram%2Fminetest%2Fminetest_engine.git Modify light values to work a bit better with non-smooth lighting --- diff --git a/src/light.cpp b/src/light.cpp index 93e49862..89bddb1c 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