mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
move weather back to gfx & add world:client/environment.json file
This commit is contained in:
parent
7a86cbdd60
commit
db620010a3
11 changed files with 68 additions and 37 deletions
|
|
@ -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();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue