1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 16:45:20 +02:00

Allow the server to control fog_distance and fog_start via the sky-api (#13448)

This commit is contained in:
lhofhansl
2023-06-30 19:11:17 -07:00
committed by GitHub
parent dde8f0e20a
commit 0ade097e99
11 changed files with 80 additions and 21 deletions

View File

@@ -44,6 +44,8 @@ struct SkyboxParams
video::SColor fog_moon_tint;
std::string fog_tint_type;
float body_orbit_tilt { INVALID_SKYBOX_TILT };
s16 fog_distance { -1 };
float fog_start { -1.0f };
};
struct SunParams