changed sky color and made new style leaves a bit more bright

master
Perttu Ahola 2011-02-13 14:21:31 +02:00
parent acdebf9dd2
commit 0386279b6f
2 changed files with 4 additions and 2 deletions

View File

@ -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);

View 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++)