TerraForge3D
2.3.1
3D Terrain And Landscape Generator
SkySettings.h
1
#pragma once
2
#include <glm/glm.hpp>
3
4
#include <string>
5
6
class
ApplicationState
;
7
class
CubeMapManager
;
8
class
TextureCubemap
;
9
10
class
SkyManager
11
{
12
public
:
13
SkyManager
(
ApplicationState
*appState);
14
~SkyManager
();
15
16
void
ShowSettings(
bool
*pOpen);
17
18
void
RenderSky(glm::mat4 vie, glm::mat4 pers);
19
20
private
:
21
void
LoadHDRI(std::string path);
22
void
ChangeCubemapTile(
int
face);
23
24
public
:
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
};
CubeMapManager
Definition:
CubeMap.h:12
SkyManager
Definition:
SkySettings.h:11
TextureCubemap
Definition:
TextureCubemap.h:17
ApplicationState
Definition:
ApplicationState.h:192
TerraForge3D
include
Sky
SkySettings.h
Generated on Thu Apr 7 2022 14:10:50 for TerraForge3D by
1.9.3