changed sky color and made new style leaves a bit more bright
authorPerttu Ahola <celeron55@gmail.com>
Sun, 13 Feb 2011 12:21:31 +0000 (14:21 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Sun, 13 Feb 2011 12:21:31 +0000 (14:21 +0200)
src/main.cpp
src/mapblock.cpp

index 31a39ecd76a0151bb6a21b6d28b2ff829d90e105..3485473216ebc99d24adc921e1607dbaca730ce4 100644 (file)
@@ -2009,7 +2009,8 @@ int main(int argc, char *argv[])
        if(camera == NULL)\r
                return 1;\r
        \r
-       video::SColor skycolor = video::SColor(255,90,140,200);\r
+       //video::SColor skycolor = video::SColor(255,90,140,200);\r
+       video::SColor skycolor = video::SColor(255,166,202,244);\r
 \r
        camera->setFOV(FOV_ANGLE);\r
 \r
index c5ede565a6520163e1ee01a3781d778b31f658c7..63f33ffc0d2d0cedb4a3264a728ced5a70946c3b 100644 (file)
@@ -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++)