[gd_scene load_steps=8 format=3 uid="uid://6dmbuecqolod"]

[ext_resource type="PackedScene" uid="uid://sh4wfmyjjve" path="res://assets/models/environment/fire_pit_env.glb" id="1_klngy"]
[ext_resource type="Texture2D" uid="uid://0acyl8dfoi6i" path="res://assets/textures/smoke_texture.png" id="2_kfkh6"]

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_klngy"]
transparency = 1
vertex_color_use_as_albedo = true
albedo_color = Color(0.936458, 0.662528, 0.102757, 1)
albedo_texture = ExtResource("2_kfkh6")
emission_enabled = true
emission = Color(0.647612, 0.431395, 0.0657308, 1)
emission_energy_multiplier = 5.0
billboard_mode = 1

[sub_resource type="Gradient" id="Gradient_b2ijf"]
offsets = PackedFloat32Array(0, 0.527197, 1)
colors = PackedColorArray(0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0)

[sub_resource type="GradientTexture1D" id="GradientTexture1D_magng"]
gradient = SubResource("Gradient_b2ijf")

[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_kfkh6"]
emission_shape_scale = Vector3(0.5, 0.5, 0.5)
emission_shape = 1
emission_sphere_radius = 1.0
gravity = Vector3(0, 3, 0)
color_ramp = SubResource("GradientTexture1D_magng")

[sub_resource type="QuadMesh" id="QuadMesh_b2ijf"]

[node name="FirePit" type="Node3D"]

[node name="fire_pit_env" parent="." instance=ExtResource("1_klngy")]

[node name="Fire" type="GPUParticles3D" parent="fire_pit_env"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.615283, 0)
material_override = SubResource("StandardMaterial3D_klngy")
cast_shadow = 0
lifetime = 1.25
process_material = SubResource("ParticleProcessMaterial_kfkh6")
draw_pass_1 = SubResource("QuadMesh_b2ijf")

[node name="OmniLight3D" type="OmniLight3D" parent="fire_pit_env"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.645023, 0)
light_color = Color(0.900353, 0.606455, 0.0980959, 1)
light_energy = 10.0
omni_range = 6.56384
