This commit is contained in:
Mario Brandao 2023-12-13 06:36:22 +01:00
parent b8bc8799b5
commit f57f24bdde
8 changed files with 260 additions and 8 deletions

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://deixcafbloiew"
path="res://.godot/imported/fire.png-6235ac2cbe87437d4f92a07c29d57370.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://docs/images/particles/fire.png"
dest_files=["res://.godot/imported/fire.png-6235ac2cbe87437d4f92a07c29d57370.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://n87qgvrwt1qe"
path="res://.godot/imported/hurricane.png-525755fbfb53f767da1d931a8446ffda.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://docs/images/particles/hurricane.png"
dest_files=["res://.godot/imported/hurricane.png-525755fbfb53f767da1d931a8446ffda.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bt6ommaqsplmr"
path="res://.godot/imported/hyperdrive.png-5e4ada335922013c72f1323c6b6a9f25.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://docs/images/particles/hyperdrive.png"
dest_files=["res://.godot/imported/hyperdrive.png-5e4ada335922013c72f1323c6b6a9f25.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bk41uc22pn6iq"
path="res://.godot/imported/shield.png-8ae651acf12f8ad27f817e98c051ba40.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://docs/images/particles/shield.png"
dest_files=["res://.godot/imported/shield.png-8ae651acf12f8ad27f817e98c051ba40.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bgurhlha1804o"
path="res://.godot/imported/smoke.png-c16c6154a3d7512ae723c2efbb2e079d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://docs/images/particles/smoke.png"
dest_files=["res://.godot/imported/smoke.png-c16c6154a3d7512ae723c2efbb2e079d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ccnl6p1mu4vb2"
path="res://.godot/imported/sparks.png-1d1928844aa1827aa999272e36be7a84.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://docs/images/particles/sparks.png"
dest_files=["res://.godot/imported/sparks.png-1d1928844aa1827aa999272e36be7a84.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@ -0,0 +1,6 @@
[gd_resource type="Environment" format=3 uid="uid://dxrk0u62aekxt"]
[resource]
background_mode = 1
glow_enabled = true
glow_blend_mode = 4

View File

@ -1,5 +1,6 @@
[gd_scene load_steps=10 format=3 uid="uid://chomobsn1vdo4"]
[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"]
@ -7,11 +8,6 @@
[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="Environment" id="Environment_2s5er"]
background_mode = 1
glow_enabled = true
glow_blend_mode = 4
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_njwlo"]
shading_mode = 0
albedo_color = Color(0, 0, 0, 1)
@ -20,13 +16,49 @@ albedo_color = Color(0, 0, 0, 1)
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 = SubResource("Environment_2s5er")
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)
@ -53,4 +85,14 @@ visible = false
[node name="Shield" parent="." instance=ExtResource("5_iqqai")]
[node name="Sparks2" parent="." instance=ExtResource("6_n8y86")]
[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")