godot-visual-effects/particle-effects.tscn
Mario Brandao f57f24bdde Images
2023-12-13 06:36:22 +01:00

99 lines
3.6 KiB
Plaintext

[gd_scene load_steps=15 format=3 uid="uid://chomobsn1vdo4"]
[ext_resource type="Environment" uid="uid://dxrk0u62aekxt" path="res://environments/black-environment.tres" id="1_k1rat"]
[ext_resource type="PackedScene" uid="uid://cxj4cf67il71y" path="res://particles/smoke.tscn" id="1_vs4eb"]
[ext_resource type="PackedScene" uid="uid://c4g1wgyk5ynef" path="res://particles/fire.tscn" id="2_ua5o7"]
[ext_resource type="PackedScene" uid="uid://bdwxckix3vslo" path="res://particles/hurricane.tscn" id="3_1jf4n"]
[ext_resource type="PackedScene" uid="uid://ce6advdj56x0c" path="res://particles/hyperdrive.tscn" id="4_waeec"]
[ext_resource type="PackedScene" uid="uid://b2dthk7xytysh" path="res://particles/shield.tscn" id="5_iqqai"]
[ext_resource type="PackedScene" uid="uid://ck5vuhi3tffgl" path="res://particles/sparks.tscn" id="6_n8y86"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_njwlo"]
shading_mode = 0
albedo_color = Color(0, 0, 0, 1)
[sub_resource type="PlaneMesh" id="PlaneMesh_1mtlo"]
material = SubResource("StandardMaterial3D_njwlo")
size = Vector2(10, 10)
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_yeau7"]
emission_shape = 6
emission_ring_axis = Vector3(0, 0, 1)
emission_ring_height = 1.0
emission_ring_radius = 3.0
emission_ring_inner_radius = 0.0
collision_mode = 1
collision_friction = 0.0
collision_bounce = 0.3
[sub_resource type="Gradient" id="Gradient_wmx1f"]
offsets = PackedFloat32Array(0.469751, 0.647687)
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_c4vav"]
gradient = SubResource("Gradient_wmx1f")
fill = 1
fill_from = Vector2(0.5, 0.5)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_isb3u"]
transparency = 1
vertex_color_use_as_albedo = true
albedo_texture = SubResource("GradientTexture2D_c4vav")
billboard_mode = 3
particles_anim_h_frames = 1
particles_anim_v_frames = 1
particles_anim_loop = false
[sub_resource type="QuadMesh" id="QuadMesh_r2rct"]
material = SubResource("StandardMaterial3D_isb3u")
size = Vector2(0.01, 0.1)
[node name="Particle Effects" type="Node3D"]
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(0.707107, -0.40558, 0.579228, 0, 0.819152, 0.573576, -0.707107, -0.40558, 0.579228, 30, 30, 30)
environment = ExtResource("1_k1rat")
projection = 1
current = true
fov = 3.8
size = 3.0
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
[node name="Ground" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.01, 0)
mesh = SubResource("PlaneMesh_1mtlo")
skeleton = NodePath("../Shield")
[node name="GPUParticlesCollisionBox3D" type="GPUParticlesCollisionBox3D" parent="Ground"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.52, 0)
size = Vector3(10, 1, 10)
[node name="Smoke" parent="." instance=ExtResource("1_vs4eb")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
visible = false
[node name="Fire" parent="." instance=ExtResource("2_ua5o7")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0)
visible = false
[node name="Hurricane" parent="." instance=ExtResource("3_1jf4n")]
visible = false
[node name="Hyperdrive" parent="." instance=ExtResource("4_waeec")]
visible = false
[node name="Shield" parent="." instance=ExtResource("5_iqqai")]
[node name="Sparks" parent="." instance=ExtResource("6_n8y86")]
visible = false
[node name="Rain" type="Node3D" parent="."]
[node name="Droplets" type="GPUParticles3D" parent="Rain"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 0)
amount = 64
fixed_fps = 60
process_material = SubResource("ParticleProcessMaterial_yeau7")
draw_pass_1 = SubResource("QuadMesh_r2rct")