mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21:11:50 +00:00
add fog_curve parameter & update shaders
This commit is contained in:
parent
d7f20e7388
commit
e6ea4fe37e
8 changed files with 29 additions and 27 deletions
|
|
@ -31,10 +31,13 @@ struct WeatherPreset : Serializable {
|
|||
/// @brief Weather fog depth multiplier
|
||||
float fogDencity = 2.0f;
|
||||
|
||||
/// @brief Weather fog curve
|
||||
float fogCurve = 0.5f;
|
||||
|
||||
float clouds = 0.5f;
|
||||
|
||||
/// @brief Weather effects intensity
|
||||
float intensity = 0.9f;
|
||||
float intensity = 1.0f;
|
||||
|
||||
dv::value serialize() const override;
|
||||
void deserialize(const dv::value& src) override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue