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:
parent
6f17876e86
commit
d4e0dfa5f6
8 changed files with 62 additions and 35 deletions
|
@ -1857,10 +1857,11 @@ void Server::SendSetSky(session_t peer_id, const SkyboxParams ¶ms)
|
|||
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") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue