1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Support drawing the skybox in front of the default sky

This commit is contained in:
MirceaKitsune 2025-04-23 01:28:04 +03:00
parent 6f17876e86
commit d4e0dfa5f6
8 changed files with 62 additions and 35 deletions

View file

@ -29,6 +29,7 @@ struct SkyboxParams
video::SColor bgcolor;
std::string type;
std::vector<std::string> textures;
bool textures_front;
bool clouds;
SkyColor sky_color;
video::SColor fog_sun_tint;
@ -89,6 +90,7 @@ public:
SkyboxParams sky;
sky.bgcolor = video::SColor(255, 255, 255, 255);
sky.type = "regular";
sky.textures_front = false;
sky.clouds = true;
sky.sky_color = getSkyColorDefaults();
sky.fog_sun_tint = video::SColor(255, 244, 125, 29);