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

[ext_resource type="Script" uid="uid://bf0tnhnwttrim" path="res://Scripts/Misc/DialogueAutoStarter.cs" id="1_qu5kv"]
[ext_resource type="PackedScene" uid="uid://cpgrmlc0c1ssj" path="res://3D/BriefingRoom3D.tscn" id="2_qxk7q"]
[ext_resource type="Shader" uid="uid://iw1ujgfir2li" path="res://Shaders/CRT.gdshader" id="3_2oo0e"]

[sub_resource type="ShaderMaterial" id="ShaderMaterial_pa17m"]
shader = ExtResource("3_2oo0e")
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_mp1dh"]
colors = PackedColorArray(1, 0.984314, 1, 1, 1, 1, 1, 1)

[sub_resource type="GradientTexture2D" id="GradientTexture2D_mvptm"]
gradient = SubResource("Gradient_mp1dh")

[node name="IntroBriefing" type="Node2D"]
script = ExtResource("1_qu5kv")
_trackName = &"Mission1_Briefing"
_finishedScenePath = &"uid://ec4m3geediis"

[node name="SubViewportContainer" type="SubViewportContainer" parent="."]
anchors_preset = -1
offset_right = 320.0
offset_bottom = 160.0

[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_qxk7q")]

[node name="CRT" type="TextureRect" parent="."]
visible = false
top_level = true
material = SubResource("ShaderMaterial_pa17m")
anchors_preset = -1
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -7.0
offset_top = -4.0
offset_right = 339.0
offset_bottom = 167.0
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("GradientTexture2D_mvptm")
