megalith/src/world/world.tscn

74 lines
3.3 KiB
Plaintext
Raw Normal View History

2025-09-29 13:32:23 -06:00
[gd_scene load_steps=11 format=3 uid="uid://daxngklaqlyba"]
2025-09-29 12:12:34 -06:00
[ext_resource type="PackedScene" uid="uid://dtbulshrxetes" path="res://src/player/player.tscn" id="1_1k4gi"]
2025-09-29 12:38:13 -06:00
[ext_resource type="Script" uid="uid://bd046eokvcnu2" path="res://addons/phantom_camera/scripts/phantom_camera_host/phantom_camera_host.gd" id="2_6fy3g"]
2025-09-29 12:12:34 -06:00
2025-09-29 12:40:04 -06:00
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_6fy3g"]
sky_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1)
ground_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1)
[sub_resource type="Sky" id="Sky_jte2u"]
sky_material = SubResource("ProceduralSkyMaterial_6fy3g")
[sub_resource type="Environment" id="Environment_bsf3i"]
background_mode = 2
sky = SubResource("Sky_jte2u")
tonemap_mode = 2
ssr_enabled = true
ssao_enabled = true
sdfgi_enabled = true
glow_enabled = true
2025-09-29 12:12:34 -06:00
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_kueii"]
albedo_color = Color(0.16, 0.16, 0.16, 1)
[sub_resource type="PlaneMesh" id="PlaneMesh_1k4gi"]
material = SubResource("StandardMaterial3D_kueii")
size = Vector2(16, 16)
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_1k4gi"]
2025-09-29 13:32:23 -06:00
[sub_resource type="BoxMesh" id="BoxMesh_6fy3g"]
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_6fy3g"]
data = PackedVector3Array(-0.5, 0.5, 0.5, 0.5, 0.5, 0.5, -0.5, -0.5, 0.5, 0.5, 0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, 0.5, 0.5, -0.5, -0.5, 0.5, -0.5, 0.5, -0.5, -0.5, -0.5, 0.5, -0.5, -0.5, -0.5, -0.5, 0.5, -0.5, -0.5, 0.5, 0.5, 0.5, 0.5, 0.5, -0.5, 0.5, -0.5, 0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, -0.5, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, 0.5, -0.5, -0.5, -0.5, -0.5, 0.5, 0.5, -0.5, -0.5, 0.5, -0.5, -0.5, -0.5, 0.5, 0.5, 0.5, -0.5, 0.5, 0.5, 0.5, 0.5, -0.5, -0.5, 0.5, 0.5, -0.5, 0.5, -0.5, 0.5, 0.5, -0.5, -0.5, -0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, -0.5, 0.5, -0.5, 0.5, 0.5, -0.5, -0.5, -0.5, -0.5, -0.5)
2025-09-29 12:12:34 -06:00
[node name="World" type="Node3D"]
2025-09-29 12:40:04 -06:00
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_bsf3i")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.8660254, -0.43301278, 0.25, 0, 0.49999997, 0.86602545, -0.50000006, 0.75, -0.43301266, 0, 0, 0)
shadow_enabled = true
2025-09-29 13:35:22 -06:00
directional_shadow_max_distance = 20.0
2025-09-29 12:40:04 -06:00
2025-09-29 12:12:34 -06:00
[node name="Player" parent="." instance=ExtResource("1_1k4gi")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
[node name="WorldFloor" type="MeshInstance3D" parent="."]
mesh = SubResource("PlaneMesh_1k4gi")
[node name="StaticBody3D" type="StaticBody3D" parent="WorldFloor"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldFloor/StaticBody3D"]
shape = SubResource("WorldBoundaryShape3D_1k4gi")
2025-09-29 12:38:13 -06:00
[node name="Camera3D" type="Camera3D" parent="."]
physics_interpolation_mode = 1
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
[node name="PhantomCameraHost" type="Node" parent="Camera3D"]
process_priority = 300
process_physics_priority = 300
script = ExtResource("2_6fy3g")
2025-09-29 13:32:23 -06:00
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.5, 0.5, 4.5)
mesh = SubResource("BoxMesh_6fy3g")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_6fy3g")