This commit is contained in:
2026-05-10 11:01:22 +02:00
parent 040ded5f0b
commit 2aa7d1f7d4
30 changed files with 252 additions and 147 deletions

View File

@@ -162,6 +162,10 @@ func ApplyWeatherShaderToMaterials():
_clear_weather_overlay_from_node(node)
func _apply_weather_overlay_to_node(node: Node, material: Material) -> void:
if node.is_in_group("weather_vegetables_node"):
_clear_weather_overlay_from_node(node)
return
if node is GeometryInstance3D:
if _geometry_uses_alpha_texture(node):
node.material_overlay = null