[gd_scene load_steps=6 format=3 uid="uid://2p5pcpd6p31s"] [ext_resource type="Script" path="res://ProceduralGenerator.gd" id="1"] [ext_resource type="MeshLibrary" uid="uid://cylktvmebocbc" path="res://meshes.meshlib" id="2"] [ext_resource type="Script" path="res://Player.gd" id="3"] [sub_resource type="CapsuleMesh" id="1"] [sub_resource type="Environment" id="Environment_ph1u4"] volumetric_fog_enabled = true volumetric_fog_density = 0.01 [node name="Node3D" type="Node3D"] [node name="GridMap" type="GridMap" parent="."] mesh_library = ExtResource("2") cell_size = Vector3(1, 1, 1) cell_octant_size = 512 script = ExtResource("1") ChunkWidth = 64 ChunkHeight = 64 [node name="Player" type="Node3D" parent="GridMap"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 20, 0) script = ExtResource("3") [node name="MeshInstance3D" type="MeshInstance3D" parent="GridMap/Player"] mesh = SubResource("1") [node name="Camera3D" type="Camera3D" parent="GridMap/Player"] transform = Transform3D(1, 0, 0, 0, 0.642788, 0.766044, 0, -0.766044, 0.642788, 0, 5, 8.249) [node name="MapUpdateTimer" type="Timer" parent="GridMap"] wait_time = 0.1 autostart = true [node name="DirectionalLight3D" type="DirectionalLight3D" parent="GridMap"] transform = Transform3D(0.907777, 0.404197, -0.112094, 0, 0.267238, 0.96363, 0.419452, -0.874762, 0.242593, 0, 0, 0) light_color = Color(0.67451, 0.847059, 0.901961, 1) light_energy = 1.5 light_indirect_energy = 0.0 light_volumetric_fog_energy = 1.162 shadow_enabled = true shadow_transmittance_bias = -5.122 [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource("Environment_ph1u4") [connection signal="timeout" from="GridMap/MapUpdateTimer" to="GridMap" method="_on_MapUpdateTimer_timeout"]