add snow management for materials

This commit is contained in:
2026-03-31 14:28:10 +02:00
parent 2f4fd27dfd
commit ade67a3b90
26 changed files with 693 additions and 97 deletions

View File

@@ -26,6 +26,11 @@ window/size/viewport_height=1080
window/stretch/mode="canvas_items"
window/stretch/aspect="expand"
[global_group]
wind_materials="Materials to apply wind"
snow_materials=""
[physics]
3d/physics_engine="Jolt Physics"
@@ -54,3 +59,43 @@ global_snow_amount={
"type": "float",
"value": 0.0
}
global_wind_speed={
"type": "float",
"value": 0.075
}
global_wind_direction={
"type": "vec2",
"value": Vector2(0.5, 0.2)
}
global_wind_scale={
"type": "float",
"value": 0.025
}
global_wind_strength={
"type": "float",
"value": 0.8
}
global_snow_threshold={
"type": "float",
"value": 0.0
}
global_snow_color={
"type": "color",
"value": Color(0.9309246, 0.95468724, 0.9776916, 1)
}
global_snow_start_time={
"type": "float",
"value": -1.0
}
global_snow_accumulation_speed={
"type": "float",
"value": 0.05
}
global_snow_melt_time={
"type": "float",
"value": -1.0
}
global_snow_melt_speed={
"type": "float",
"value": 0.0
}