winter-tales/GameObjects/Latern/Latern.tscn

118 lines
4.5 KiB
Plaintext
Raw Normal View History

2025-11-28 14:27:39 +00:00
[gd_scene load_steps=15 format=3 uid="uid://dq6anegy5hrjn"]
[ext_resource type="Script" uid="uid://bq56bfytlbxq7" path="res://addons/rokojori_action_library/Runtime/GameObjects/GameObject3D.cs" id="1_4pmg3"]
[ext_resource type="PackedScene" uid="uid://bmu5ui25f8bqu" path="res://assets/kenney_holiday-kit/Models/GLB format/lantern.glb" id="1_ygw2r"]
[ext_resource type="Texture2D" uid="uid://c31r03k3ulqjc" path="res://assets/kenney_holiday-kit/Models/GLB format/Textures/colormap.png" id="2_6mbug"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_oeaw5"]
resource_name = "colormap"
cull_mode = 2
albedo_texture = ExtResource("2_6mbug")
metallic = 0.8
roughness = 0.61
texture_filter = 2
stencil_mode = 3
stencil_flags = 2
[sub_resource type="CapsuleMesh" id="CapsuleMesh_4pmg3"]
radius = 0.196
height = 0.463
radial_segments = 8
rings = 2
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6mbug"]
shading_mode = 0
albedo_color = Color(1.6287986, 1.3438833, 0.4077328, 1)
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_g5ygy"]
radius = 0.334
height = 4.0250096
[sub_resource type="QuadMesh" id="QuadMesh_ruj5i"]
[sub_resource type="Gradient" id="Gradient_6mbug"]
offsets = PackedFloat32Array(0.030150754, 0.37939698, 0.6532663, 1)
colors = PackedColorArray(1.1852031, 0.92332155, 0.20314768, 1, 1, 0.66999996, 0.100000024, 0.28235295, 0.83, 0.15216666, 0, 0.21960784, 0.26947108, 0, 0.62219584, 0)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_oeaw5"]
gradient = SubResource("Gradient_6mbug")
fill = 1
fill_from = Vector2(0.5, 0.5)
fill_to = Vector2(1, 0.5)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wptij"]
render_priority = 2
transparency = 1
blend_mode = 1
cull_mode = 2
shading_mode = 0
albedo_texture = SubResource("GradientTexture2D_oeaw5")
billboard_mode = 1
billboard_keep_scale = true
stencil_mode = 3
stencil_flags = 1
stencil_compare = 5
[sub_resource type="Gradient" id="Gradient_4pmg3"]
offsets = PackedFloat32Array(0, 0.410596, 0.77102804, 1)
colors = PackedColorArray(1.1852031, 0.92188036, 0.19774282, 0.23529412, 1, 0.66999996, 0.100000024, 0.078431375, 0.83, 0.15216666, 0, 0.039215688, 0.26947108, 0, 0.62219584, 0)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_4pmg3"]
gradient = SubResource("Gradient_4pmg3")
fill = 1
fill_from = Vector2(0.5, 0.5)
fill_to = Vector2(1, 0.5)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ti2fm"]
render_priority = 1
transparency = 1
blend_mode = 1
cull_mode = 2
shading_mode = 0
albedo_texture = SubResource("GradientTexture2D_4pmg3")
billboard_keep_scale = true
stencil_flags = 1
stencil_compare = 5
[node name="Latern" type="Node3D"]
script = ExtResource("1_4pmg3")
metadata/_custom_type_script = "uid://bq56bfytlbxq7"
metadata/_edit_group_ = true
[node name="Static Physics Body" type="StaticBody3D" parent="."]
metadata/_edit_lock_ = true
[node name="Graphics" parent="Static Physics Body" instance=ExtResource("1_ygw2r")]
transform = Transform3D(2.1058302, 0, 0, 0, 2.1058302, 0, 0, 0, 2.1058302, 0, 0, 0)
[node name="lantern" parent="Static Physics Body/Graphics" index="0"]
surface_material_override/0 = SubResource("StandardMaterial3D_oeaw5")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Static Physics Body/Graphics"]
transform = Transform3D(0.9999999, 0, 0, 0, 0.9999999, 0, 0, 0, 0.9999999, 0, 1.430777, 0)
mesh = SubResource("CapsuleMesh_4pmg3")
surface_material_override/0 = SubResource("StandardMaterial3D_6mbug")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Static Physics Body"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6663113, 0)
shape = SubResource("CapsuleShape3D_g5ygy")
[node name="OmniLight3D" type="OmniLight3D" parent="Static Physics Body"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.4163227, 0)
light_color = Color(0.86658764, 0.45582926, 0.21102788, 1)
light_energy = 16.0
omni_range = 6.0
omni_attenuation = 2.0
[node name="Light Glow" type="MeshInstance3D" parent="Static Physics Body"]
transform = Transform3D(3.7583687, 0, 0, 0, 3.7583687, 0, 0, 0, 3.7583687, 0, 3.0242057, 0)
mesh = SubResource("QuadMesh_ruj5i")
surface_material_override/0 = SubResource("StandardMaterial3D_wptij")
[node name="Light Floor" type="MeshInstance3D" parent="Static Physics Body"]
transform = Transform3D(6.665709, 0, 0, 0, -2.9136737e-07, 6.665709, 0, -6.665709, -2.9136737e-07, 0, 0.008287787, 0)
mesh = SubResource("QuadMesh_ruj5i")
surface_material_override/0 = SubResource("StandardMaterial3D_ti2fm")
[editable path="Static Physics Body/Graphics"]