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

[ext_resource type="Script" uid="uid://bf0tnhnwttrim" path="res://Scripts/Misc/DialogueAutoStarter.cs" id="1_d3qhx"]
[ext_resource type="PackedScene" uid="uid://chcfi75y8wmhy" path="res://3D/ICCOffice3D.tscn" id="2_d3qhx"]
[ext_resource type="Shader" uid="uid://iw1ujgfir2li" path="res://Shaders/CRT.gdshader" id="3_usrds"]

[sub_resource type="ShaderMaterial" id="ShaderMaterial_3eou1"]
shader = ExtResource("3_usrds")
shader_parameter/screen_width = 1024.0
shader_parameter/screen_height = 600.0
shader_parameter/BarrelPower = 1.0
shader_parameter/color_bleeding = 0.265
shader_parameter/bleeding_range_x = 2.845
shader_parameter/bleeding_range_y = 2.64
shader_parameter/lines_distance = 4.0
shader_parameter/scan_size = 2.0
shader_parameter/scanline_alpha = 0.9
shader_parameter/lines_velocity = 30.0

[sub_resource type="Gradient" id="Gradient_usrds"]
colors = PackedColorArray(1, 0.984314, 1, 1, 1, 1, 1, 1)

[sub_resource type="GradientTexture2D" id="GradientTexture2D_goifu"]
gradient = SubResource("Gradient_usrds")

[node name="CanvasLayer" type="CanvasLayer"]

[node name="Level1EndCutscene" type="Node2D" parent="."]
script = ExtResource("1_d3qhx")
_trackName = &"Level1_End_Intermission"
_finishedScenePath = &"uid://bx31ou6tw3kd1"

[node name="SubViewportContainer" type="SubViewportContainer" parent="."]
offset_right = 320.0
offset_bottom = 160.0
size_flags_horizontal = 3
size_flags_vertical = 3

[node name="SubViewport" type="SubViewport" parent="SubViewportContainer"]
handle_input_locally = false
size = Vector2i(320, 160)
render_target_update_mode = 4

[node name="BriefingRoom3d" parent="SubViewportContainer/SubViewport" instance=ExtResource("2_d3qhx")]

[node name="CRT" type="TextureRect" parent="."]
visible = false
top_level = true
material = SubResource("ShaderMaterial_3eou1")
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("GradientTexture2D_goifu")
