[gd_scene load_steps=9 format=2] [ext_resource path="res://assets/youth_room/youth_room.glb" type="PackedScene" id=1] [ext_resource path="res://assets/textures/hdr/pretville_cinema_4k.hdr" type="Texture" id=2] [sub_resource type="PanoramaSky" id=1] radiance_size = 4 panorama = ExtResource( 2 ) [sub_resource type="Environment" id=2] background_mode = 2 background_sky = SubResource( 1 ) background_sky_orientation = Basis( -0.866025, 0.5, 8.74228e-08, 0.5, 0.866025, 0, -7.57103e-08, 4.37114e-08, -1 ) background_energy = 0.1 tonemap_mode = 1 tonemap_exposure = 1.62 tonemap_white = 2.01 auto_exposure_min_luma = 0.5 ss_reflections_enabled = true ss_reflections_fade_in = 1.53972e-05 ssao_enabled = true ssao_intensity = 2.0 ssao_radius2 = 6.0 ssao_intensity2 = 3.0 ssao_bias = 0.2 ssao_light_affect = 0.19 ssao_ao_channel_affect = 0.35 ssao_color = Color( 0.164706, 0.0392157, 0.25098, 1 ) ssao_quality = 2 ssao_edge_sharpness = 10.0 dof_blur_near_enabled = true dof_blur_near_distance = 0.29 dof_blur_near_transition = 0.3 glow_enabled = true glow_levels/3 = false glow_levels/4 = true glow_levels/7 = true glow_intensity = 0.14 glow_bloom = 0.22 glow_blend_mode = 1 glow_hdr_threshold = 0.34 glow_hdr_scale = 1.81 glow_bicubic_upscale = true glow_high_quality = true adjustment_enabled = true adjustment_brightness = 1.05 adjustment_contrast = 1.1 adjustment_saturation = 0.95 [sub_resource type="Animation" id=4] length = 0.001 tracks/0/type = "value" tracks/0/path = NodePath("DirectionalLight:light_energy") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 0, "values": [ 0.0 ] } tracks/1/type = "value" tracks/1/path = NodePath("DirectionalLight:translation") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/imported = false tracks/1/enabled = true tracks/1/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 0, "values": [ Vector3( 0, 2.42148, 5.72203 ) ] } tracks/2/type = "value" tracks/2/path = NodePath("DirectionalLight:rotation_degrees") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/imported = false tracks/2/enabled = true tracks/2/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 0, "values": [ Vector3( -11.1996, -21.888, 0.294716 ) ] } [sub_resource type="Animation" id=5] resource_name = "lightning_1" length = 6.0 loop = true tracks/0/type = "value" tracks/0/path = NodePath("DirectionalLight:light_energy") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 0.1, 0.264559, 0.8, 1, 1.3, 2.5, 3.1, 3.5, 5 ), "transitions": PoolRealArray( 1, 0.329877, 1, 0.0915055, 0.0915055, 1, 1, 1, 0.267943, 1 ), "update": 0, "values": [ 0.0, 16.0, 0.452, 0.0, 10.921, 0.181, 0.452, 0.0, 4.466, 0.0 ] } tracks/1/type = "value" tracks/1/path = NodePath("DirectionalLight:translation") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/imported = false tracks/1/enabled = true tracks/1/keys = { "times": PoolRealArray( 0.1, 0.8, 0.9, 3.1, 3.2 ), "transitions": PoolRealArray( 1, 1, 1, 1, 1 ), "update": 0, "values": [ Vector3( 0, 2.42148, 5.72203 ), Vector3( 0, 1.30217, 5.72203 ), Vector3( 2.30365, 2.9974, 5.72203 ), Vector3( 1.32903, 2.75374, 5.72203 ), Vector3( -1.02816, 2.74267, 5.72203 ) ] } tracks/2/type = "value" tracks/2/path = NodePath("DirectionalLight:rotation_degrees") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/imported = false tracks/2/enabled = true tracks/2/keys = { "times": PoolRealArray( 0.1, 0.8, 0.9, 3.1, 3.2 ), "transitions": PoolRealArray( 1, 1, 1, 1, 1 ), "update": 0, "values": [ Vector3( -11.1996, -21.888, 0.294716 ), Vector3( -4.21738, -20.3734, -1.9015 ), Vector3( -14.9022, 16.7652, -25.4545 ), Vector3( -13.3357, 0.411877, -14.5606 ), Vector3( -6.80584, -27.9889, -5.83255 ) ] } [sub_resource type="GDScript" id=6] script/source = "tool extends OmniLight func _process(delta): light_energy = get_parent().light_energy/16 " [sub_resource type="GDScript" id=3] script/source = "extends Label func _process(_delta): text = String(Engine.get_frames_per_second()) " [node name="Spatial" type="Spatial"] [node name="youth_room" parent="." instance=ExtResource( 1 )] [node name="CSGBox" type="CSGBox" parent="youth_room"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.615092, 2.69516, 0 ) width = 4.87924 height = 0.287417 depth = 4.39209 [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource( 2 ) [node name="Thunder" type="Spatial" parent="WorldEnvironment"] [node name="AnimationPlayer" type="AnimationPlayer" parent="WorldEnvironment/Thunder"] autoplay = "lightning_1" anims/RESET = SubResource( 4 ) anims/lightning_1 = SubResource( 5 ) [node name="DirectionalLight" type="SpotLight" parent="WorldEnvironment/Thunder"] transform = Transform( 0.928274, 0.0676328, -0.365694, 0.00504579, 0.980943, 0.194227, 0.371861, -0.182142, 0.910243, 0, 2.42148, 5.72203 ) light_color = Color( 0.87451, 0.968627, 1, 1 ) light_energy = 0.0 light_specular = 4.662 shadow_enabled = true spot_range = 8.5031 spot_angle = 22.4863 [node name="OmniLight" type="OmniLight" parent="WorldEnvironment/Thunder/DirectionalLight"] transform = Transform( 0.914217, -0.0247696, 0.404467, 0.0922751, 0.984632, -0.14827, -0.394579, 0.172874, 0.902454, -1.74898, 0.227914, -8.58099 ) light_energy = 0.0 omni_range = 6.36159 script = SubResource( 6 ) [node name="OmniLight" type="OmniLight" parent="WorldEnvironment"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.191191, 1.74344, -0.0735504 ) light_color = Color( 0.101961, 0, 1, 1 ) light_energy = 0.2 light_specular = 0.0 omni_range = 4.66672 omni_attenuation = 0.329878 [node name="OmniLight2" type="OmniLight" parent="WorldEnvironment"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.23416, 1.99505, 0.375105 ) light_color = Color( 1, 0.666667, 0.470588, 1 ) light_energy = 0.2 shadow_enabled = true shadow_bias = 0.034 omni_range = 3.81869 omni_attenuation = 0.554784 omni_shadow_mode = 0 [node name="SpotLight" type="SpotLight" parent="WorldEnvironment"] transform = Transform( 0.99801, 0.0320666, 0.0542887, -0.0630518, 0.507564, 0.859304, 0, -0.861017, 0.508576, -0.585629, 1.40734, 1.63678 ) light_color = Color( 0.952941, 0.694118, 0.419608, 1 ) light_energy = 4.0 spot_range = 1.3341 spot_angle = 53.3304 [node name="OmniLight" type="OmniLight" parent="WorldEnvironment/SpotLight"] transform = Transform( 1, 0, 0, 0, 1, 2.98023e-08, 0, 2.98023e-08, 1, 0.00947899, 0.0839477, -0.379508 ) light_color = Color( 1, 0.666667, 0.470588, 1 ) light_energy = 0.2 shadow_enabled = true omni_range = 4.09816 omni_attenuation = 0.554784 omni_shadow_mode = 0 [node name="Camera" type="Camera" parent="."] transform = Transform( -0.684369, 0, -0.729136, 0, 1, 0, 0.729136, 0, -0.684369, -0.579239, 1.09208, -1.04088 ) [node name="Label" type="Label" parent="Camera"] margin_right = 40.0 margin_bottom = 14.0 script = SubResource( 3 ) [node name="SpotLight" type="SpotLight" parent="."] transform = Transform( -0.267934, 0.906933, 0.325091, -0.828721, -0.389042, 0.402327, 0.491357, -0.161613, 0.855833, 3.21517, 0.148682, 0.80532 ) spot_angle = 40.6194