Modify light values to work a bit better with non-smooth lighting
authorPerttu Ahola <celeron55@gmail.com>
Sun, 5 Feb 2012 10:02:40 +0000 (12:02 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Sun, 5 Feb 2012 10:02:40 +0000 (12:02 +0200)
src/light.cpp

index 93e4986206cd968eff782bd0730f07a2a19ffbb0..89bddb1c42dc4ab46f110cd16bf64a314af36bdf 100644 (file)
@@ -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