1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-30 19:22:14 +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

@ -1857,10 +1857,11 @@ void Server::SendSetSky(session_t peer_id, const SkyboxParams &params)
for (const std::string& texture : params.textures)
pkt << texture;
pkt << false;
pkt << params.clouds;
} else { // Handle current clients and future clients
pkt << params.bgcolor << params.type
<< params.clouds << params.fog_sun_tint
<< params.textures_front << params.clouds << params.fog_sun_tint
<< params.fog_moon_tint << params.fog_tint_type;
if (params.type == "skybox") {