projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6101696
)
Modify light values to work a bit better with non-smooth lighting
author
Perttu Ahola
<celeron55@gmail.com>
Sun, 5 Feb 2012 10:02:40 +0000
(12:02 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Sun, 5 Feb 2012 10:02:40 +0000
(12:02 +0200)
src/light.cpp
patch
|
blob
|
history
diff --git
a/src/light.cpp
b/src/light.cpp
index 93e4986206cd968eff782bd0730f07a2a19ffbb0..89bddb1c42dc4ab46f110cd16bf64a314af36bdf 100644
(file)
--- 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
,
-2
3
0,
+
195
,
+2
2
0,
255,
};
#endif