mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-18 07:59:19 +02:00
Draw volumetric clouds, their shadows, a volumetric fog and catalogue stars from a new weather system in the GL 4.6 renderer
This commit is contained in:
@@ -17,11 +17,9 @@ http://mozilla.org/MPL/2.0/.
|
||||
|
||||
void TSky::Init() {
|
||||
|
||||
if (Global.asSky != "1"
|
||||
&& Global.asSky != "0" ) {
|
||||
|
||||
mdCloud = TModelsManager::GetModel( Global.asSky );
|
||||
}
|
||||
// the clouds are worked out from the weather (environment/weather.h) and drawn by the renderer; the cloud model the sky
|
||||
// section of a scenery names (Global.asSky) is no longer loaded
|
||||
mdCloud = nullptr;
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user