mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 06:21:50 +00:00
add 'sky_tint', 'clouds_tint', 'min_sky_light' weather parameters
This commit is contained in:
parent
1194379f99
commit
e037462615
22 changed files with 80 additions and 31 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue