diff --git a/Ingame/Level/Torch.tscn b/Ingame/Level/Torch.tscn index 89f8d26..4460252 100644 --- a/Ingame/Level/Torch.tscn +++ b/Ingame/Level/Torch.tscn @@ -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://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 )] @@ -15,3 +16,5 @@ light_color = Color( 0.996078, 0.568627, 0.380392, 1 ) light_energy = 3.0 shadow_enabled = true omni_range = 87.1226 + +[node name="Smoke" parent="." index="2" instance=ExtResource( 3 )] diff --git a/Textures/Particles/Smoke.tscn b/Textures/Particles/Smoke.tscn index 09f9ab3..a1efcef 100644 --- a/Textures/Particles/Smoke.tscn +++ b/Textures/Particles/Smoke.tscn @@ -14,8 +14,8 @@ particles_anim_loop = false albedo_texture = ExtResource( 1 ) [sub_resource type="Gradient" id=2] -offsets = PoolRealArray( 0, 0.495798, 1 ) -colors = PoolColorArray( 0, 0, 0, 0, 0.521008, 0.521008, 0.521008, 1, 1, 1, 1, 0 ) +offsets = PoolRealArray( 0, 0.621849, 1 ) +colors = PoolColorArray( 1, 0, 0, 1, 0.40625, 0.00317383, 0.00317383, 1, 1, 1, 1, 0 ) [sub_resource type="GradientTexture" id=3] gradient = SubResource( 2 ) @@ -70,7 +70,7 @@ draw_pass_1 = SubResource( 7 ) [node name="ContinuousSmoke" type="Particles" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.701113, 7.2704, 0 ) material_override = SubResource( 1 ) -amount = 32 +amount = 40 lifetime = 1.71 process_material = SubResource( 8 ) draw_pass_1 = SubResource( 7 )