[gd_scene load_steps=7 format=3 uid="uid://bwc2wp7tckm7t"]

[ext_resource type="PackedScene" uid="uid://c2uf5vwe2rdbd" path="res://base-environments/youth_room/import/cheeky-city.glb" id="1_yckvd"]

[sub_resource type="GDScript" id="GDScript_bfd5g"]
script/source = "@tool
extends Node3D

@export var light_energy:float = 0:
	set(value):
		light_energy = value
		if is_inside_tree():
			light.light_energy = light_energy

@onready var light := $DirectionalLight3D
"

[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_6f36u"]
sky_top_color = Color(0.101961, 0.0666667, 0.054902, 1)
sky_horizon_color = Color(0.0627451, 0.054902, 0.0823529, 1)
sky_curve = 0.139955
sky_energy_multiplier = 3.0
ground_bottom_color = Color(0.0392157, 0.0470588, 0.0705882, 1)
ground_horizon_color = Color(0.0470588, 0.0470588, 0.0509804, 1)

[sub_resource type="Sky" id="Sky_t6lsh"]
sky_material = SubResource("ProceduralSkyMaterial_6f36u")

[sub_resource type="Environment" id="Environment_fld35"]
background_mode = 2
sky = SubResource("Sky_t6lsh")
tonemap_mode = 2
tonemap_exposure = 0.2
tonemap_white = 0.7
glow_enabled = true
glow_intensity = 1.37
glow_strength = 0.7
glow_bloom = 0.5
glow_blend_mode = 1
glow_hdr_threshold = 0.0
glow_hdr_scale = 0.0
fog_light_color = Color(0.258824, 0.184314, 0.101961, 1)
fog_density = 0.03
fog_aerial_perspective = 0.94
fog_sky_affect = 0.056
fog_height_density = 0.1
volumetric_fog_enabled = true
volumetric_fog_density = 0.02
volumetric_fog_temporal_reprojection_amount = 0.5
adjustment_enabled = true
adjustment_contrast = 0.95

[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_ulrlw"]
dof_blur_far_enabled = true
dof_blur_far_distance = 0.01
dof_blur_far_transition = 20.0

[node name="outside" type="Node3D"]
script = SubResource("GDScript_bfd5g")
light_energy = 10.0

[node name="cheeky-city" parent="." instance=ExtResource("1_yckvd")]
transform = Transform3D(20, 0, 0, 0, 20, 0, 0, 0, 20, 0, 0, 0)

[node name="OmniLight3D" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 11.4465, -0.256757, -19.7974)
light_color = Color(0.8, 0.603922, 0.392157, 1)
light_energy = 0.2
light_size = 0.279
omni_range = 16.0
omni_attenuation = 0.112656

[node name="OmniLight3D8" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -11.2251, -0.256757, 4.38324)
light_color = Color(0.8, 0.603922, 0.392157, 1)
light_energy = 0.2
light_size = 0.279
omni_range = 16.0
omni_attenuation = 0.112656

[node name="OmniLight3D7" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.654726, -3.32103, 7.06207)
light_color = Color(0.570621, 0.67174, 0.659698, 1)
light_energy = 0.2
light_size = 0.279
omni_range = 16.0
omni_attenuation = 0.112656

[node name="OmniLight3D2" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 40.5472, -0.232839, -32.886)
light_color = Color(0.67451, 0.619608, 0.517647, 1)
light_energy = 0.2
light_size = 0.279
omni_range = 25.0
omni_attenuation = 0.189465

[node name="OmniLight3D6" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.53009, -6.20358, -9.67346)
light_color = Color(0.631373, 0.635294, 0.521569, 1)
light_energy = 0.5
light_size = 0.279
omni_range = 13.1447
omni_attenuation = 0.189465

[node name="OmniLight3D3" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -24.3761, -0.151392, -38.9854)
light_color = Color(0.847059, 0.545098, 0.305882, 1)
light_energy = 0.2
light_size = 0.1
omni_range = 32.0
omni_attenuation = 0.307786

[node name="OmniLight3D4" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12.9875, -0.706419, -1.3831)
light_color = Color(0.8, 0.603922, 0.392157, 1)
light_size = 0.1
omni_range = 18.0
omni_attenuation = 0.307786

[node name="OmniLight3D5" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.81714, -0.70642, -15.9211)
light_color = Color(0.8, 0.603922, 0.392157, 1)
light_size = 0.1
omni_range = 17.0
omni_attenuation = 0.307786

[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_fld35")
camera_attributes = SubResource("CameraAttributesPractical_ulrlw")

[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.653881, 0.379921, 0.654294, 0.745388, 0.471786, 0.470972, -0.129755, 0.795662, -0.591681, 0, 0, 0)
light_color = Color(0.92549, 0.94902, 0.980392, 1)
light_energy = 0.0
light_angular_distance = 20.0
