[gd_scene load_steps=9 format=3 uid="uid://fht6j87o8ecr"]

[ext_resource type="Script" path="res://src/ui/3d/projectile_arc/projectile_arc.gd" id="1_vafqi"]
[ext_resource type="Shader" path="res://src/shaders/plasma.gdshader" id="2_pi36v"]

[sub_resource type="Curve3D" id="Curve3D_rfv3d"]

[sub_resource type="Gradient" id="Gradient_28hbf"]
offsets = PackedFloat32Array(0, 0.37193, 0.838596, 1)
colors = PackedColorArray(0.197937, 0.197937, 0.197937, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.197937, 0.197937, 0.197937, 1)

[sub_resource type="GradientTexture1D" id="GradientTexture1D_8xhfy"]
gradient = SubResource("Gradient_28hbf")

[sub_resource type="Gradient" id="Gradient_yx8sm"]
interpolation_mode = 2
offsets = PackedFloat32Array(0.0666667, 0.287719, 1)
colors = PackedColorArray(1, 1, 1, 1, 0.485904, 0.485904, 0.485904, 1, 0, 0, 0, 1)

[sub_resource type="GradientTexture1D" id="GradientTexture1D_l8ond"]
gradient = SubResource("Gradient_yx8sm")

[sub_resource type="ShaderMaterial" id="ShaderMaterial_ahf42"]
render_priority = 0
shader = ExtResource("2_pi36v")
shader_parameter/albedo = Color(0.9, 0, 0.7, 1)
shader_parameter/transpose_axis = false
shader_parameter/wave_width = 2.0
shader_parameter/wave_speed = 0.6
shader_parameter/glow_color = Color(0.5, 0.75, 1, 1)
shader_parameter/glow_intensity = 0.618
shader_parameter/glow_amount = 4.5
shader_parameter/pulse_speed = 0.3
shader_parameter/wave_gradient = SubResource("GradientTexture1D_l8ond")
shader_parameter/pulse_gradient = SubResource("GradientTexture1D_8xhfy")

[node name="ProjectileArc" type="Node3D"]
script = ExtResource("1_vafqi")

[node name="Path" type="Path3D" parent="."]
unique_name_in_owner = true
curve = SubResource("Curve3D_rfv3d")

[node name="Polygon" type="CSGPolygon3D" parent="Path"]
unique_name_in_owner = true
polygon = PackedVector2Array(0, -0.1, -0.2, 0, 0, 0.1, 0.2, 0)
mode = 2
path_node = NodePath("..")
path_interval_type = 0
path_interval = 1.0
path_simplify_angle = 0.0
path_rotation = 2
path_local = true
path_continuous_u = true
path_u_distance = 1.0
path_joined = false
material = SubResource("ShaderMaterial_ahf42")

[connection signal="visibility_changed" from="." to="." method="_on_visibility_changed"]
