mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +01:00
changed sky color and made new style leaves a bit more bright
This commit is contained in:
parent
acdebf9dd2
commit
0386279b6f
@ -2009,7 +2009,8 @@ int main(int argc, char *argv[])
|
|||||||
if(camera == NULL)
|
if(camera == NULL)
|
||||||
return 1;
|
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);
|
camera->setFOV(FOV_ANGLE);
|
||||||
|
|
||||||
|
@ -1182,7 +1182,8 @@ void MapBlock::updateMesh(u32 daynight_ratio)
|
|||||||
*/
|
*/
|
||||||
else if(n.d == CONTENT_LEAVES && new_style_leaves)
|
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);
|
video::SColor c(255,l,l,l);
|
||||||
|
|
||||||
for(u32 j=0; j<6; j++)
|
for(u32 j=0; j<6; j++)
|
||||||
|
Loading…
Reference in New Issue
Block a user