[gd_scene load_steps=13 format=3 uid="uid://dwfckgdxnwwru"]

[ext_resource type="Texture2D" uid="uid://c0rf8luj8nbom" path="res://src/world/effects/zephyr/zephyr_scale_curve.tres" id="1_opmvf"]
[ext_resource type="Curve" uid="uid://5vyddepvq1ho" path="res://src/world/effects/zephyr/zephyr_mesh_curve.tres" id="2_5lvg1"]
[ext_resource type="Material" uid="uid://b20gam4x6f8gw" path="res://src/world/effects/zephyr/zephyr_mesh_material.tres" id="3_yxxm1"]

[sub_resource type="Curve" id="Curve_ddgk4"]
min_value = -1.0
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.25, -1), 0.0, 0.0, 0, 0, Vector2(0.5, 1), 0.0, 0.0, 0, 0, Vector2(0.75, -1), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
point_count = 5

[sub_resource type="CurveXYZTexture" id="CurveXYZTexture_4pntk"]
curve_y = SubResource("Curve_ddgk4")

[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_t5ein"]
particle_flag_align_y = true
emission_shape = 3
emission_box_extents = Vector3(100, 50, 100)
spread = 0.0
initial_velocity_min = 40.0
initial_velocity_max = 40.0
directional_velocity_min = 3.99998
directional_velocity_max = 3.99998
directional_velocity_curve = SubResource("CurveXYZTexture_4pntk")
gravity = Vector3(0, 0, 0)
scale_curve = ExtResource("1_opmvf")
sub_emitter_mode = 1
sub_emitter_frequency = 4.0

[sub_resource type="RibbonTrailMesh" id="RibbonTrailMesh_rhyqq"]
material = ExtResource("3_yxxm1")
shape = 0
sections = 12
section_length = 0.87
curve = ExtResource("2_5lvg1")

[sub_resource type="Curve" id="Curve_v0f0t"]
min_value = -1.0
_data = [Vector2(0.2, 1), 0.0, 0.0, 0, 0, Vector2(0.3, -1), 0.0, 0.0, 0, 0, Vector2(0.4, 1), 0.0, 0.0, 0, 0]
point_count = 3

[sub_resource type="Curve" id="Curve_mp6e7"]
min_value = -1.0
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.0464768, 0.0216568), 0.0, 0.0, 0, 0, Vector2(0.130435, -0.0698431), 0.0, 0.0, 0, 0, Vector2(0.2, 0), 0.0, 20.0, 0, 1, Vector2(0.25, 1), 0.0, 0.0, 0, 0, Vector2(0.35, -1), 0.0, 0.0, 0, 0, Vector2(0.4, 0), 20.0, 0.0, 1, 0, Vector2(0.449102, 0.1875), 0.0, 0.0, 0, 0, Vector2(0.625749, -0.0577831), 0.0, 0.0, 0, 0, Vector2(0.7, 0), 0.0, 0.0, 0, 0]
point_count = 10

[sub_resource type="CurveXYZTexture" id="CurveXYZTexture_j3h3q"]
curve_x = SubResource("Curve_v0f0t")
curve_y = SubResource("Curve_mp6e7")

[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_cn2bt"]
particle_flag_align_y = true
spread = 0.0
directional_velocity_min = 37.0
directional_velocity_max = 40.0
directional_velocity_curve = SubResource("CurveXYZTexture_j3h3q")
gravity = Vector3(0, 0, 0)
scale_curve = ExtResource("1_opmvf")

[sub_resource type="RibbonTrailMesh" id="RibbonTrailMesh_inkcn"]
material = ExtResource("3_yxxm1")
shape = 0
sections = 24
curve = ExtResource("2_5lvg1")

[node name="WaveParticle" type="GPUParticles3D"]
amount = 4
sub_emitter = NodePath("SwirlParticle")
lifetime = 6.0
randomness = 1.0
fixed_fps = 60
interpolate = false
visibility_aabb = AABB(-100, -50, -100, 600, 100, 200)
local_coords = true
trail_enabled = true
trail_lifetime = 1.5
process_material = SubResource("ParticleProcessMaterial_t5ein")
draw_pass_1 = SubResource("RibbonTrailMesh_rhyqq")

[node name="SwirlParticle" type="GPUParticles3D" parent="."]
amount = 1
lifetime = 12.0
randomness = 1.0
visibility_aabb = AABB(-100, -50, -100, 600, 100, 200)
local_coords = true
trail_enabled = true
trail_lifetime = 3.0
process_material = SubResource("ParticleProcessMaterial_cn2bt")
draw_pass_1 = SubResource("RibbonTrailMesh_inkcn")
