fiery smoke

This commit is contained in:
Ententerminator 2020-02-01 19:45:44 +01:00
parent 8a78b90265
commit 8b7d5c3d44
2 changed files with 7 additions and 4 deletions

View File

@ -1,7 +1,8 @@
[gd_scene load_steps=3 format=2] [gd_scene load_steps=4 format=2]
[ext_resource path="res://3D Input/torch.glb" type="PackedScene" id=1] [ext_resource path="res://3D Input/torch.glb" type="PackedScene" id=1]
[ext_resource path="res://Ingame/Level/Wood.tres" type="Material" id=2] [ext_resource path="res://Ingame/Level/Wood.tres" type="Material" id=2]
[ext_resource path="res://Textures/Particles/Smoke.tscn" type="PackedScene" id=3]
[node name="Torch" instance=ExtResource( 1 )] [node name="Torch" instance=ExtResource( 1 )]
@ -15,3 +16,5 @@ light_color = Color( 0.996078, 0.568627, 0.380392, 1 )
light_energy = 3.0 light_energy = 3.0
shadow_enabled = true shadow_enabled = true
omni_range = 87.1226 omni_range = 87.1226
[node name="Smoke" parent="." index="2" instance=ExtResource( 3 )]

View File

@ -14,8 +14,8 @@ particles_anim_loop = false
albedo_texture = ExtResource( 1 ) albedo_texture = ExtResource( 1 )
[sub_resource type="Gradient" id=2] [sub_resource type="Gradient" id=2]
offsets = PoolRealArray( 0, 0.495798, 1 ) offsets = PoolRealArray( 0, 0.621849, 1 )
colors = PoolColorArray( 0, 0, 0, 0, 0.521008, 0.521008, 0.521008, 1, 1, 1, 1, 0 ) colors = PoolColorArray( 1, 0, 0, 1, 0.40625, 0.00317383, 0.00317383, 1, 1, 1, 1, 0 )
[sub_resource type="GradientTexture" id=3] [sub_resource type="GradientTexture" id=3]
gradient = SubResource( 2 ) gradient = SubResource( 2 )
@ -70,7 +70,7 @@ draw_pass_1 = SubResource( 7 )
[node name="ContinuousSmoke" type="Particles" parent="."] [node name="ContinuousSmoke" type="Particles" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.701113, 7.2704, 0 ) transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.701113, 7.2704, 0 )
material_override = SubResource( 1 ) material_override = SubResource( 1 )
amount = 32 amount = 40
lifetime = 1.71 lifetime = 1.71
process_material = SubResource( 8 ) process_material = SubResource( 8 )
draw_pass_1 = SubResource( 7 ) draw_pass_1 = SubResource( 7 )