[gd_scene format=3 uid="uid://ddf56s1s6k8md"]

[ext_resource type="PackedScene" uid="uid://dms5mmvwgk1vx" path="res://assets/gltf/torch.gltf" id="1_m85ju"]
[ext_resource type="Shader" uid="uid://dyp8dxi24ehrk" path="res://shaders/torch.gdshader" id="2_0obdf"]
[ext_resource type="Texture2D" uid="uid://c3gwmy6sy13si" path="res://assets/gltf/Dungeon_props.png" id="3_m8jru"]

[sub_resource type="ShaderMaterial" id="ShaderMaterial_m8jru"]
render_priority = 0
shader = ExtResource("2_0obdf")
shader_parameter/albedo_tex = ExtResource("3_m8jru")
shader_parameter/emission_strength = 12.558000596505
shader_parameter/flicker_speed = 3.0
shader_parameter/flicker_amount = 0.4
shader_parameter/flame_min_r = 0.6
shader_parameter/flame_max_g = 0.6
shader_parameter/flame_max_b = 0.3

[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_m8jru"]
lifetime_randomness = 0.41
turbulence_noise_scale = 0.0
turbulence_influence_min = 0.009000001
turbulence_influence_max = 0.07

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_m8jru"]
albedo_color = Color(1, 1, 0, 1)
emission_enabled = true
emission = Color(0.9607843, 0.9607843, 0.050980393, 1)
emission_on_uv2 = true
ao_enabled = true
subsurf_scatter_enabled = true

[sub_resource type="PointMesh" id="PointMesh_coxeb"]
material = SubResource("StandardMaterial3D_m8jru")

[node name="Torch" unique_id=114276604 instance=ExtResource("1_m85ju")]

[node name="torch" parent="." index="0" unique_id=1483393984]
material_override = SubResource("ShaderMaterial_m8jru")

[node name="OmniLight3D" type="OmniLight3D" parent="." index="1" unique_id=1604580557]
light_color = Color(0.9059526, 0.9046462, 0, 1)
light_energy = 3.0
shadow_enabled = true
omni_range = 8.0

[node name="GPUParticles3D" type="GPUParticles3D" parent="." index="2" unique_id=44151893]
lifetime = 8.91
interp_to_end = 0.15
preprocess = 1.0
explosiveness = 0.84
randomness = 0.14
process_material = SubResource("ParticleProcessMaterial_m8jru")
draw_passes = 4
draw_pass_1 = SubResource("PointMesh_coxeb")
draw_pass_2 = null
draw_pass_3 = null
draw_pass_4 = null
