move weather back to gfx & add world:client/environment.json file

This commit is contained in:
MihailRis
2025-03-09 22:50:45 +03:00
parent 7a86cbdd60
commit db620010a3
11 changed files with 68 additions and 37 deletions
+4 -1
View File
@@ -47,6 +47,7 @@ class WorldRenderer {
std::unique_ptr<GuidesRenderer> guides;
std::unique_ptr<Skybox> skybox;
std::unique_ptr<ModelBatch> modelBatch;
Weather weather {};
float timer = 0.0f;
bool debug = false;
@@ -89,7 +90,7 @@ public:
bool hudVisible,
bool pause,
float delta,
PostProcessing* postProcessing
PostProcessing& postProcessing
);
/// @brief Render level without diegetic interface
@@ -108,4 +109,6 @@ public:
void clear();
void setDebug(bool flag);
Weather& getWeather();
};