[gd_scene load_steps=25 format=3 uid="uid://bvut7t1l1v305"] [ext_resource type="Script" path="res://script/effect/particle.gd" id="1_a6aoh"] [ext_resource type="Shader" path="res://render/shader/particle.gdshader" id="2_huo8i"] [ext_resource type="Texture2D" uid="uid://bqqa04cq6brul" path="res://render/texture/particle/shape/flare6.png" id="3_is87m"] [ext_resource type="Texture2D" uid="uid://bslhqlcg8cw2l" path="res://render/texture/particle/shape/flare3.png" id="4_3vqto"] [ext_resource type="Texture2D" uid="uid://ddrm1reu30eux" path="res://render/texture/common/common_emission.tres" id="4_p7mgx"] [ext_resource type="RibbonTrailMesh" uid="uid://cv0787wcswb6d" path="res://render/trail_mesh/flare_blunt.tres" id="6_48ph4"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_dkmkb"] render_priority = 0 shader = ExtResource("2_huo8i") shader_parameter/tex_main = ExtResource("3_is87m") [sub_resource type="Curve" id="Curve_n5hkj"] _data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.187692, 0.398295), -1.20613, -1.20613, 0, 0, Vector2(1, 0), 0.0806379, 0.0, 0, 0] point_count = 3 [sub_resource type="CurveTexture" id="CurveTexture_qqoo7"] curve = SubResource("Curve_n5hkj") [sub_resource type="Gradient" id="Gradient_wb6fx"] offsets = PackedFloat32Array(0, 0.20202, 1) colors = PackedColorArray(1, 1, 1, 1, 0.937017, 0.527629, 0.107744, 1, 0.929412, 0.470588, 0, 1) [sub_resource type="GradientTexture1D" id="GradientTexture1D_ee1g0"] gradient = SubResource("Gradient_wb6fx") [sub_resource type="Curve" id="Curve_2o6rl"] max_value = 2.0 _data = [Vector2(0, 0.758242), 0.0, 2.00769, 0, 0, Vector2(0.0394089, 1.08791), 0.0, 0.0, 0, 0, Vector2(1, 2), 0.0, 0.0, 0, 0] point_count = 3 [sub_resource type="CurveTexture" id="CurveTexture_1vj45"] curve = SubResource("Curve_2o6rl") [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_acw2w"] particle_flag_disable_z = true angle_min = 1.07288e-05 angle_max = 720.0 gravity = Vector3(0, 0, 0) scale_curve = SubResource("CurveTexture_1vj45") color_ramp = SubResource("GradientTexture1D_ee1g0") alpha_curve = SubResource("CurveTexture_qqoo7") emission_curve = ExtResource("4_p7mgx") [sub_resource type="QuadMesh" id="QuadMesh_0j7av"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_i0f24"] render_priority = 0 shader = ExtResource("2_huo8i") shader_parameter/tex_main = ExtResource("4_3vqto") [sub_resource type="Curve" id="Curve_3uvr5"] _data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] point_count = 2 [sub_resource type="CurveTexture" id="CurveTexture_1og0n"] curve = SubResource("Curve_3uvr5") [sub_resource type="Curve" id="Curve_8klc5"] max_value = 4.0 _data = [Vector2(0, 1.9732), 0.0, 1.4, 0, 0, Vector2(1, 4), 0.0, 0.0, 0, 0] point_count = 2 [sub_resource type="CurveTexture" id="CurveTexture_k3cwo"] curve = SubResource("Curve_8klc5") [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_3w28u"] particle_flag_disable_z = true angle_min = 1.07288e-05 angle_max = 720.0 gravity = Vector3(0, 0, 0) scale_curve = SubResource("CurveTexture_k3cwo") alpha_curve = SubResource("CurveTexture_1og0n") [sub_resource type="Curve" id="Curve_axcwu"] _data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] point_count = 2 [sub_resource type="CurveTexture" id="CurveTexture_mgmqm"] curve = SubResource("Curve_axcwu") [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_5lomq"] spread = 180.0 initial_velocity_min = 4.0 initial_velocity_max = 5.0 alpha_curve = SubResource("CurveTexture_mgmqm") [node name="Particle" type="Node3D"] script = ExtResource("1_a6aoh") [node name="Slash" type="GPUParticles3D" parent="."] layers = 512 material_override = SubResource("ShaderMaterial_dkmkb") cast_shadow = 0 emitting = false amount = 1 lifetime = 0.15 one_shot = true fixed_fps = 60 local_coords = true process_material = SubResource("ParticleProcessMaterial_acw2w") draw_pass_1 = SubResource("QuadMesh_0j7av") [node name="Slash2" type="GPUParticles3D" parent="."] layers = 512 material_override = SubResource("ShaderMaterial_i0f24") cast_shadow = 0 emitting = false amount = 1 lifetime = 0.15 one_shot = true fixed_fps = 60 local_coords = true process_material = SubResource("ParticleProcessMaterial_3w28u") draw_pass_1 = SubResource("QuadMesh_0j7av") [node name="Flare" type="GPUParticles3D" parent="."] emitting = false lifetime = 0.3 one_shot = true preprocess = 0.05 explosiveness = 1.0 trail_enabled = true trail_lifetime = 0.1 process_material = SubResource("ParticleProcessMaterial_5lomq") draw_pass_1 = ExtResource("6_48ph4")