[gd_scene load_steps=12 format=3 uid="uid://b84ihb5xw37pm"]

[ext_resource type="PackedScene" uid="uid://chem70rrdwjpg" path="res://nodes/robots/robot.tscn" id="1_p4ude"]
[ext_resource type="VoxelBlockyLibrary" uid="uid://bsue4rd3wdfsl" path="res://nodes/world/BlockLibrary.tres" id="2_x03q5"]
[ext_resource type="Material" uid="uid://de6s8en5fcyyw" path="res://nodes/world/BlockMaterial.tres" id="3_k18g4"]
[ext_resource type="PackedScene" uid="uid://ddyulj4dsrkms" path="res://nodes/world/terrain_editor.tscn" id="4_h5ql1"]
[ext_resource type="Script" uid="uid://cp4pflpo7neyq" path="res://nodes/world/Terrain.gd" id="4_x03q5"]
[ext_resource type="PackedScene" uid="uid://cy0nvmw51bwof" path="res://nodes/camera/controllable_camera.tscn" id="5_cctyy"]

[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_e1sxe"]
sky_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
ground_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)

[sub_resource type="Sky" id="Sky_llm6e"]
sky_material = SubResource("ProceduralSkyMaterial_e1sxe")

[sub_resource type="Environment" id="Environment_5yot8"]
background_mode = 2
sky = SubResource("Sky_llm6e")

[sub_resource type="VoxelGeneratorFlat" id="VoxelGeneratorFlat_llm6e"]
channel = 0

[sub_resource type="VoxelMesherBlocky" id="VoxelMesherBlocky_jq1ic"]
library = ExtResource("2_x03q5")

[node name="Robots" type="Node"]

[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_5yot8")

[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.866024, -0.433016, 0.250001, 0, 0.499998, 0.866026, -0.500003, 0.749999, -0.43301, 0, 0, 0)
shadow_enabled = true

[node name="Robot" parent="." instance=ExtResource("1_p4ude")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0.5, 0.5)

[node name="VoxelTerrain" type="VoxelTerrain" parent="."]
generator = SubResource("VoxelGeneratorFlat_llm6e")
mesher = SubResource("VoxelMesherBlocky_jq1ic")
bounds = AABB(-1040, -32, -1040, 2080, 96, 2080)
material_override = ExtResource("3_k18g4")
script = ExtResource("4_x03q5")

[node name="TerrainEditor" parent="VoxelTerrain" instance=ExtResource("4_h5ql1")]

[node name="ControllableCamera" parent="." instance=ExtResource("5_cctyy")]
transform = Transform3D(0.97668, -0.143377, 0.159808, 0, 0.744336, 0.667805, -0.214699, -0.652232, 0.726979, 1.39679, 4.07542, 4.92893)
