183 lines
6.6 KiB
Plaintext
183 lines
6.6 KiB
Plaintext
[gd_scene load_steps=10 format=3 uid="uid://bqpbrju7mc7d5"]
|
|
|
|
[ext_resource type="Script" path="res://ui/settings/Settings.gd" id="1_gx3lf"]
|
|
[ext_resource type="Script" path="res://ui/settings/Glow.gd" id="1_vkhbt"]
|
|
[ext_resource type="Script" path="res://ui/settings/ScaleMode.gd" id="2_7a2hi"]
|
|
[ext_resource type="Script" path="res://ui/ParentNameLabel.gd" id="2_72a3s"]
|
|
[ext_resource type="Script" path="res://ui/settings/RenderScale.gd" id="3_o5ei3"]
|
|
[ext_resource type="Script" path="res://ui/settings/DepthOfField.gd" id="5_kjasn"]
|
|
[ext_resource type="Script" path="res://ui/settings/Brightness.gd" id="7_redsl"]
|
|
[ext_resource type="Script" path="res://ui/settings/Contrast.gd" id="8_q4hif"]
|
|
[ext_resource type="Script" path="res://ui/settings/Saturation.gd" id="9_wbvcu"]
|
|
|
|
[node name="Settings" type="Control"]
|
|
layout_mode = 3
|
|
anchor_left = 0.25
|
|
anchor_top = 0.25
|
|
anchor_right = 0.75
|
|
anchor_bottom = 0.75
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_gx3lf")
|
|
|
|
[node name="TabContainer" type="TabContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Video" type="MarginContainer" parent="TabContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/Video"]
|
|
layout_mode = 2
|
|
|
|
[node name="Render Scale" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 28)
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Render Scale"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Render Scale:"
|
|
script = ExtResource("2_72a3s")
|
|
|
|
[node name="OptionButton" type="OptionButton" parent="TabContainer/Video/VBoxContainer/Render Scale"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
item_count = 5
|
|
popup/item_0/text = "Performance"
|
|
popup/item_0/id = 0
|
|
popup/item_1/text = "Balanced"
|
|
popup/item_1/id = 1
|
|
popup/item_2/text = "Quality"
|
|
popup/item_2/id = 2
|
|
popup/item_3/text = "Ultra Quality"
|
|
popup/item_3/id = 3
|
|
popup/item_4/text = "Native"
|
|
popup/item_4/id = 4
|
|
script = ExtResource("3_o5ei3")
|
|
|
|
[node name="Scale Mode" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 28)
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Scale Mode"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Scale Mode:"
|
|
script = ExtResource("2_72a3s")
|
|
|
|
[node name="OptionButton" type="OptionButton" parent="TabContainer/Video/VBoxContainer/Scale Mode"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
item_count = 3
|
|
popup/item_0/text = "Bilinear"
|
|
popup/item_0/id = 0
|
|
popup/item_1/text = "FSR 1.0"
|
|
popup/item_1/id = 1
|
|
popup/item_2/text = "FSR 2.2"
|
|
popup/item_2/id = 2
|
|
script = ExtResource("2_7a2hi")
|
|
|
|
[node name="Glow" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 28)
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Glow"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Glow:"
|
|
script = ExtResource("2_72a3s")
|
|
|
|
[node name="CheckButton" type="CheckButton" parent="TabContainer/Video/VBoxContainer/Glow"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
script = ExtResource("1_vkhbt")
|
|
|
|
[node name="Depth of Field" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 28)
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Depth of Field"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Depth of Field:"
|
|
script = ExtResource("2_72a3s")
|
|
|
|
[node name="CheckButton" type="CheckButton" parent="TabContainer/Video/VBoxContainer/Depth of Field"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
script = ExtResource("5_kjasn")
|
|
|
|
[node name="Brightness" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 28)
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Brightness"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Brightness:"
|
|
script = ExtResource("2_72a3s")
|
|
|
|
[node name="HSlider" type="HSlider" parent="TabContainer/Video/VBoxContainer/Brightness"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
max_value = 2.0
|
|
step = 0.05
|
|
value = 0.5
|
|
script = ExtResource("7_redsl")
|
|
|
|
[node name="Contrast" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 28)
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Contrast"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Contrast:"
|
|
script = ExtResource("2_72a3s")
|
|
|
|
[node name="HSlider" type="HSlider" parent="TabContainer/Video/VBoxContainer/Contrast"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
max_value = 2.0
|
|
step = 0.05
|
|
value = 0.5
|
|
script = ExtResource("8_q4hif")
|
|
|
|
[node name="Saturation" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 28)
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Saturation"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Saturation:"
|
|
script = ExtResource("2_72a3s")
|
|
|
|
[node name="HSlider" type="HSlider" parent="TabContainer/Video/VBoxContainer/Saturation"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
max_value = 2.0
|
|
step = 0.05
|
|
value = 0.5
|
|
script = ExtResource("9_wbvcu")
|
|
|
|
[node name="Audio" type="MarginContainer" parent="TabContainer"]
|
|
visible = false
|
|
layout_mode = 2
|
|
|
|
[node name="Volume" type="HSlider" parent="TabContainer/Audio"]
|
|
layout_mode = 2
|
|
|
|
[connection signal="item_selected" from="TabContainer/Video/VBoxContainer/Render Scale/OptionButton" to="TabContainer/Video/VBoxContainer/Render Scale/OptionButton" method="on_item_selected"]
|
|
[connection signal="item_selected" from="TabContainer/Video/VBoxContainer/Scale Mode/OptionButton" to="TabContainer/Video/VBoxContainer/Scale Mode/OptionButton" method="on_item_selected"]
|
|
[connection signal="toggled" from="TabContainer/Video/VBoxContainer/Glow/CheckButton" to="TabContainer/Video/VBoxContainer/Glow/CheckButton" method="on_toggled"]
|
|
[connection signal="toggled" from="TabContainer/Video/VBoxContainer/Depth of Field/CheckButton" to="TabContainer/Video/VBoxContainer/Depth of Field/CheckButton" method="on_toggled"]
|
|
[connection signal="value_changed" from="TabContainer/Video/VBoxContainer/Brightness/HSlider" to="TabContainer/Video/VBoxContainer/Brightness/HSlider" method="on_value_changed"]
|
|
[connection signal="value_changed" from="TabContainer/Video/VBoxContainer/Contrast/HSlider" to="TabContainer/Video/VBoxContainer/Contrast/HSlider" method="on_value_changed"]
|
|
[connection signal="value_changed" from="TabContainer/Video/VBoxContainer/Saturation/HSlider" to="TabContainer/Video/VBoxContainer/Saturation/HSlider" method="on_value_changed"]
|