1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Some fiddling around with fog... not much changed

This commit is contained in:
Perttu Ahola 2011-02-14 16:13:03 +02:00
parent 7701753131
commit 467f43d47c
3 changed files with 83 additions and 30 deletions

View file

@ -5428,10 +5428,15 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass)
{
continue;
}
// This is ugly
/*if(m_control.range_all == false &&
d - 0.5*BS*MAP_BLOCKSIZE > range)
continue;*/
#if 1
/*
Update expired mesh
Update expired mesh (used for day/night change)
*/
bool mesh_expired = false;