add 'sky_tint', 'clouds_tint', 'min_sky_light' weather parameters

This commit is contained in:
MihailRis 2026-02-12 20:27:29 +03:00
parent 1194379f99
commit e037462615
22 changed files with 80 additions and 31 deletions

View file

@ -60,6 +60,15 @@ struct WeatherPreset : Serializable {
/// @brief Weather effects intensity
float intensity = 0.0f;
/// @brief Skybox color multiplier
glm::vec3 skyTint {1.0f, 1.0f, 1.0f};
/// @brief Clouds color multiplier
glm::vec3 cloudsTint {1.0f, 1.0f, 1.0f};
/// @brief Minimal sky-emitted lights (moon light)
glm::vec3 minSkyLight {0.2f, 0.25f, 0.33f};
dv::value serialize() const override;
void deserialize(const dv::value& src) override;
};