TerraForge3D  2.3.1
3D Terrain And Landscape Generator
SkySettings.h
1#pragma once
2#include <glm/glm.hpp>
3
4#include <string>
5
9
11{
12public:
15
16 void ShowSettings(bool *pOpen);
17
18 void RenderSky(glm::mat4 vie, glm::mat4 pers);
19
20private:
21 void LoadHDRI(std::string path);
22 void ChangeCubemapTile(int face);
23
24public:
25 TextureCubemap *cubemap = nullptr;
26 CubeMapManager *cubemapManager = nullptr;
27 bool useBox = false;
28 bool useProcedural = true;
29 float cltime = 0.0f;
30 float upf = 0.35f;
31 float cirrus = 0.4f;
32 float cumulus = 0.8f;
33 float fsun[3] = {0, 0.2, 0.1};
34 ApplicationState *appState = nullptr;
35};