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

Convert transparency flag to skybox types

This commit is contained in:
MirceaKitsune 2025-04-23 22:53:42 +03:00
parent ab3073e425
commit de5328c851
8 changed files with 28 additions and 34 deletions

View file

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