[gd_scene load_steps=9 format=3 uid="uid://crrygyaih05se"]

[ext_resource type="Material" uid="uid://cctnv4begy4wb" path="res://materials/floor_material.tres" id="1_8ei4y"]
[ext_resource type="Material" uid="uid://bcwkvohpos5bq" path="res://materials/wall_material.tres" id="2_kcnwe"]
[ext_resource type="Script" uid="uid://dn8aajx2fep1s" path="res://scripts/world/auto_hider.gd" id="3_lkks6"]
[ext_resource type="PackedScene" uid="uid://ct10biu2l4ywc" path="res://scenes/player/player.tscn" id="3_tvtyj"]
[ext_resource type="PackedScene" uid="uid://bsus683cmdnaw" path="res://scenes/player/camera_rig.tscn" id="4_es1e3"]

[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_0s0d2"]
sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
ground_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)

[sub_resource type="Sky" id="Sky_2bxnf"]
sky_material = SubResource("ProceduralSkyMaterial_0s0d2")

[sub_resource type="Environment" id="Environment_nxmiq"]
background_mode = 2
sky = SubResource("Sky_2bxnf")
tonemap_mode = 2
glow_enabled = true

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

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

[node name="map" type="Node3D" parent="."]

[node name="floor" type="CSGBox3D" parent="map"]
material_override = ExtResource("1_8ei4y")
use_collision = true
size = Vector3(10, 1, 10)

[node name="wall1" type="CSGBox3D" parent="map"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.5, 2, 0)
layers = 2
material_override = ExtResource("2_kcnwe")
use_collision = true
size = Vector3(1, 3, 10)

[node name="wall5" type="CSGBox3D" parent="map"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.5, 2, -2)
layers = 2
material_override = ExtResource("2_kcnwe")
use_collision = true
size = Vector3(1, 3, 4)
script = ExtResource("3_lkks6")

[node name="wall2" type="CSGBox3D" parent="map"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.5, 2, 0)
layers = 2
material_override = ExtResource("2_kcnwe")
use_collision = true
size = Vector3(1, 3, 10)

[node name="wall3" type="CSGBox3D" parent="map"]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -1.96701e-07, 2, 4.5)
layers = 2
material_override = ExtResource("2_kcnwe")
use_collision = true
size = Vector3(1, 3, 8)

[node name="wall4" type="CSGBox3D" parent="map"]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 1.96701e-07, 2, -4.5)
layers = 2
material_override = ExtResource("2_kcnwe")
use_collision = true
size = Vector3(1, 3, 8)

[node name="OmniLight3D" type="OmniLight3D" parent="map"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5, 0)
layers = 3

[node name="player" parent="." instance=ExtResource("3_tvtyj")]
transform = Transform3D(0.707107, 0, 0.707107, 0, 1, 0, -0.707107, 0, 0.707107, 0, 0.504112, 0)

[node name="camera_rig" parent="." instance=ExtResource("4_es1e3")]
transform = Transform3D(0.317586, 0, 0.948229, 0, 1, 0, -0.948229, 0, 0.317586, 0, 0, 0)
