mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 22:11:51 +00:00
add fall.max_opacity, fall.opaque properties & update snow texture & weather mix test
This commit is contained in:
parent
18773b3230
commit
589518fb25
9 changed files with 57 additions and 21 deletions
|
|
@ -20,7 +20,9 @@ struct WeatherPreset : Serializable {
|
|||
float scale = 0.1f;
|
||||
/// @brief Fall opacity interpreted as zero.
|
||||
/// @example if 0.8 then opacity range is 0.8-1.0 for 0.0-1.0 intensity
|
||||
float minOpacity = 0.8f;
|
||||
float minOpacity = 0.0f;
|
||||
float maxOpacity = 1.0f;
|
||||
bool opaque = false;
|
||||
/// @brief Fall splash
|
||||
std::optional<ParticlesPreset> splash;
|
||||
} fall {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue