aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-02-13 14:21:31 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-02-13 14:21:31 +0200
commit0386279b6fa639d54383736260825b086c9017ea (patch)
tree35bca204de0266f311a56711adb1d2c4539fe763
parentacdebf9dd2b18f72e35c3e114794ee7c7c1eaca8 (diff)
downloadminetest-0386279b6fa639d54383736260825b086c9017ea.tar.gz
minetest-0386279b6fa639d54383736260825b086c9017ea.tar.bz2
minetest-0386279b6fa639d54383736260825b086c9017ea.zip
changed sky color and made new style leaves a bit more bright
-rw-r--r--src/main.cpp3
-rw-r--r--src/mapblock.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 31a39ecd7..348547321 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2009,7 +2009,8 @@ int main(int argc, char *argv[])
if(camera == NULL)
return 1;
- video::SColor skycolor = video::SColor(255,90,140,200);
+ //video::SColor skycolor = video::SColor(255,90,140,200);
+ video::SColor skycolor = video::SColor(255,166,202,244);
camera->setFOV(FOV_ANGLE);
diff --git a/src/mapblock.cpp b/src/mapblock.cpp
index c5ede565a..63f33ffc0 100644
--- a/src/mapblock.cpp
+++ b/src/mapblock.cpp
@@ -1182,7 +1182,8 @@ void MapBlock::updateMesh(u32 daynight_ratio)
*/
else if(n.d == CONTENT_LEAVES && new_style_leaves)
{
- u8 l = decode_light(n.getLightBlend(daynight_ratio));
+ /*u8 l = decode_light(n.getLightBlend(daynight_ratio));*/
+ u8 l = decode_light(undiminish_light(n.getLightBlend(daynight_ratio)));
video::SColor c(255,l,l,l);
for(u32 j=0; j<6; j++)