control.tscn 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663
  1. [gd_scene load_steps=6 format=3 uid="uid://ye05btta37gb"]
  2. [ext_resource type="Script" path="res://settings.gd" id="1_gm54x"]
  3. [ext_resource type="PackedScene" uid="uid://cbdt8lmycl8pc" path="res://3d_scene.tscn" id="2_hsbu5"]
  4. [sub_resource type="Environment" id="Environment_1f0b2"]
  5. background_mode = 1
  6. background_color = Color(0.6, 0.6, 0.6, 1)
  7. tonemap_mode = 3
  8. tonemap_white = 6.0
  9. sdfgi_cascades = 2
  10. sdfgi_min_cell_size = 0.1
  11. sdfgi_cascade0_distance = 6.4
  12. sdfgi_max_distance = 25.6
  13. sdfgi_y_scale = 0
  14. glow_intensity = 1.0
  15. glow_hdr_threshold = 0.5
  16. glow_hdr_scale = 0.2
  17. volumetric_fog_density = 0.0
  18. volumetric_fog_temporal_reprojection_amount = 0.95
  19. adjustment_enabled = true
  20. [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_w3j8l"]
  21. content_margin_left = 20.0
  22. content_margin_top = 50.0
  23. content_margin_right = 20.0
  24. content_margin_bottom = 10.0
  25. bg_color = Color(0.231373, 0.231373, 0.231373, 0.768627)
  26. [sub_resource type="Gradient" id="Gradient_ehij4"]
  27. offsets = PackedFloat32Array(0, 0.333, 0.667, 1)
  28. colors = PackedColorArray(1, 0.17, 0.17, 1, 1, 0.816, 0.08, 1, 0.644, 1, 0.11, 1, 0.14, 0.885333, 1, 1)
  29. [node name="Control" type="Control"]
  30. layout_mode = 3
  31. anchors_preset = 15
  32. anchor_right = 1.0
  33. anchor_bottom = 1.0
  34. grow_horizontal = 2
  35. grow_vertical = 2
  36. script = ExtResource("1_gm54x")
  37. [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
  38. environment = SubResource("Environment_1f0b2")
  39. [node name="Node3D" parent="." instance=ExtResource("2_hsbu5")]
  40. [node name="SettingsMenu" type="PanelContainer" parent="."]
  41. layout_mode = 1
  42. anchors_preset = 9
  43. anchor_bottom = 1.0
  44. offset_right = 429.0
  45. grow_vertical = 2
  46. theme_override_styles/panel = SubResource("StyleBoxFlat_w3j8l")
  47. [node name="ScrollContainer" type="ScrollContainer" parent="SettingsMenu"]
  48. layout_mode = 2
  49. [node name="VBoxContainer" type="VBoxContainer" parent="SettingsMenu/ScrollContainer"]
  50. layout_mode = 2
  51. size_flags_horizontal = 3
  52. size_flags_vertical = 3
  53. theme_override_constants/separation = 10
  54. [node name="PresetSection" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer"]
  55. layout_mode = 2
  56. theme_override_colors/font_color = Color(0.682353, 0.917647, 1, 1)
  57. text = "Apply Preset"
  58. horizontal_alignment = 1
  59. [node name="Presets" type="HBoxContainer" parent="SettingsMenu/ScrollContainer/VBoxContainer"]
  60. layout_mode = 2
  61. [node name="VeryLowPreset" type="Button" parent="SettingsMenu/ScrollContainer/VBoxContainer/Presets"]
  62. layout_mode = 2
  63. size_flags_horizontal = 3
  64. text = "Very Low"
  65. [node name="LowPreset" type="Button" parent="SettingsMenu/ScrollContainer/VBoxContainer/Presets"]
  66. layout_mode = 2
  67. size_flags_horizontal = 3
  68. text = "Low"
  69. [node name="MediumPreset" type="Button" parent="SettingsMenu/ScrollContainer/VBoxContainer/Presets"]
  70. layout_mode = 2
  71. size_flags_horizontal = 3
  72. text = "Medium"
  73. [node name="HighPreset" type="Button" parent="SettingsMenu/ScrollContainer/VBoxContainer/Presets"]
  74. layout_mode = 2
  75. size_flags_horizontal = 3
  76. text = "High"
  77. [node name="UltraPreset" type="Button" parent="SettingsMenu/ScrollContainer/VBoxContainer/Presets"]
  78. layout_mode = 2
  79. size_flags_horizontal = 3
  80. text = "Ultra"
  81. [node name="HSeparator" type="HSeparator" parent="SettingsMenu/ScrollContainer/VBoxContainer"]
  82. layout_mode = 2
  83. [node name="UISection" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer"]
  84. layout_mode = 2
  85. theme_override_colors/font_color = Color(0.683425, 0.916893, 1, 1)
  86. text = "User Interface Settings"
  87. horizontal_alignment = 1
  88. [node name="GridContainer" type="GridContainer" parent="SettingsMenu/ScrollContainer/VBoxContainer"]
  89. layout_mode = 2
  90. size_flags_horizontal = 3
  91. size_flags_vertical = 3
  92. columns = 2
  93. [node name="UIScaleLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer"]
  94. layout_mode = 2
  95. size_flags_horizontal = 3
  96. theme_override_font_sizes/font_size = 16
  97. text = "UI Scale:"
  98. [node name="UIScaleOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer"]
  99. layout_mode = 2
  100. size_flags_horizontal = 3
  101. theme_override_font_sizes/font_size = 16
  102. item_count = 5
  103. selected = 2
  104. popup/item_0/text = "Smaller (66%)"
  105. popup/item_0/id = 0
  106. popup/item_1/text = "Small (80%)"
  107. popup/item_1/id = 1
  108. popup/item_2/text = "Medium (100%)"
  109. popup/item_2/id = 2
  110. popup/item_3/text = "Large (133%)"
  111. popup/item_3/id = 3
  112. popup/item_4/text = "Larger (200%)"
  113. popup/item_4/id = 4
  114. [node name="ViewportSection" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer"]
  115. layout_mode = 2
  116. theme_override_colors/font_color = Color(0.683425, 0.916893, 1, 1)
  117. text = "Video Settings"
  118. horizontal_alignment = 1
  119. [node name="GridContainer2" type="GridContainer" parent="SettingsMenu/ScrollContainer/VBoxContainer"]
  120. layout_mode = 2
  121. columns = 2
  122. [node name="QualityLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  123. layout_mode = 2
  124. size_flags_horizontal = 3
  125. theme_override_font_sizes/font_size = 16
  126. text = "Resolution Scale:"
  127. [node name="QualitySlider" type="HSlider" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  128. layout_mode = 2
  129. size_flags_horizontal = 3
  130. size_flags_vertical = 1
  131. min_value = 0.25
  132. max_value = 2.0
  133. step = 0.05
  134. value = 1.0
  135. [node name="FilterLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  136. layout_mode = 2
  137. size_flags_horizontal = 3
  138. theme_override_font_sizes/font_size = 16
  139. text = "Display Filter:"
  140. [node name="FilterOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  141. layout_mode = 2
  142. size_flags_horizontal = 3
  143. theme_override_font_sizes/font_size = 16
  144. item_count = 2
  145. selected = 0
  146. popup/item_0/text = "Bilinear (Fastest)"
  147. popup/item_0/id = 0
  148. popup/item_1/text = "FSR 1.0 (Fast)"
  149. popup/item_1/id = 1
  150. [node name="FSRSharpnessLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  151. unique_name_in_owner = true
  152. visible = false
  153. layout_mode = 2
  154. size_flags_horizontal = 3
  155. theme_override_font_sizes/font_size = 16
  156. text = "FSR Sharpness:"
  157. [node name="FSRSharpnessSlider" type="HSlider" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  158. unique_name_in_owner = true
  159. visible = false
  160. layout_mode = 2
  161. size_flags_horizontal = 3
  162. size_flags_vertical = 1
  163. max_value = 2.0
  164. step = 0.2
  165. value = 0.2
  166. [node name="FullscreenLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  167. layout_mode = 2
  168. size_flags_horizontal = 3
  169. theme_override_font_sizes/font_size = 16
  170. text = "Fullscreen:"
  171. [node name="FullscreenOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  172. layout_mode = 2
  173. size_flags_horizontal = 3
  174. theme_override_font_sizes/font_size = 16
  175. item_count = 2
  176. selected = 0
  177. popup/item_0/text = "Disabled"
  178. popup/item_0/id = 0
  179. popup/item_1/text = "Enabled"
  180. popup/item_1/id = 1
  181. [node name="VsyncLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  182. layout_mode = 2
  183. size_flags_horizontal = 3
  184. theme_override_font_sizes/font_size = 16
  185. text = "V-Sync:"
  186. [node name="VsyncOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  187. layout_mode = 2
  188. size_flags_horizontal = 3
  189. theme_override_font_sizes/font_size = 16
  190. item_count = 3
  191. selected = 0
  192. popup/item_0/text = "Disabled"
  193. popup/item_0/id = 0
  194. popup/item_1/text = "Adaptive"
  195. popup/item_1/id = 1
  196. popup/item_2/text = "Enabled"
  197. popup/item_2/id = 2
  198. [node name="LimitFPSLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  199. layout_mode = 2
  200. size_flags_horizontal = 3
  201. theme_override_font_sizes/font_size = 16
  202. text = "Limit FPS:"
  203. [node name="LimitFPSSlider" type="HSlider" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  204. layout_mode = 2
  205. size_flags_horizontal = 3
  206. size_flags_vertical = 3
  207. max_value = 300.0
  208. step = 10.0
  209. [node name="TAALabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  210. layout_mode = 2
  211. size_flags_horizontal = 3
  212. theme_override_font_sizes/font_size = 16
  213. text = "Anti-Aliasing (TAA):"
  214. [node name="TAAOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  215. unique_name_in_owner = true
  216. layout_mode = 2
  217. size_flags_horizontal = 3
  218. theme_override_font_sizes/font_size = 16
  219. item_count = 2
  220. selected = 0
  221. popup/item_0/text = "Disabled (Fastest)"
  222. popup/item_0/id = 0
  223. popup/item_1/text = "Enabled (Average)"
  224. popup/item_1/id = 1
  225. [node name="MSAALabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  226. layout_mode = 2
  227. size_flags_horizontal = 3
  228. theme_override_font_sizes/font_size = 16
  229. text = "Anti-Aliasing (MSAA):"
  230. [node name="MSAAOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  231. unique_name_in_owner = true
  232. layout_mode = 2
  233. size_flags_horizontal = 3
  234. theme_override_font_sizes/font_size = 16
  235. item_count = 4
  236. selected = 0
  237. popup/item_0/text = "Disabled (Fastest)"
  238. popup/item_0/id = 0
  239. popup/item_1/text = "2× (Average)"
  240. popup/item_1/id = 1
  241. popup/item_2/text = "4× (Slow)"
  242. popup/item_2/id = 2
  243. popup/item_3/text = "8× (Slower)"
  244. popup/item_3/id = 3
  245. [node name="FXAALabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  246. layout_mode = 2
  247. size_flags_horizontal = 3
  248. theme_override_font_sizes/font_size = 16
  249. text = "Anti-Aliasing (FXAA):"
  250. [node name="FXAAOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  251. unique_name_in_owner = true
  252. layout_mode = 2
  253. size_flags_horizontal = 3
  254. theme_override_font_sizes/font_size = 16
  255. item_count = 2
  256. selected = 0
  257. popup/item_0/text = "Disabled (Fastest)"
  258. popup/item_0/id = 0
  259. popup/item_1/text = "Enabled (Fast)"
  260. popup/item_1/id = 1
  261. [node name="FOVLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  262. layout_mode = 2
  263. size_flags_horizontal = 3
  264. theme_override_font_sizes/font_size = 16
  265. text = "Field of View:"
  266. [node name="FOVSlider" type="HSlider" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  267. layout_mode = 2
  268. size_flags_horizontal = 3
  269. size_flags_vertical = 1
  270. min_value = 50.0
  271. value = 50.0
  272. [node name="QualitySection" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer"]
  273. layout_mode = 2
  274. theme_override_colors/font_color = Color(0.683425, 0.916893, 1, 1)
  275. text = "Quality Settings"
  276. horizontal_alignment = 1
  277. [node name="GridContainer4" type="GridContainer" parent="SettingsMenu/ScrollContainer/VBoxContainer"]
  278. layout_mode = 2
  279. columns = 2
  280. [node name="ShadowSizeLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer4"]
  281. layout_mode = 2
  282. size_flags_horizontal = 3
  283. theme_override_font_sizes/font_size = 16
  284. text = "Shadow Resolution:"
  285. [node name="ShadowSizeOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer4"]
  286. unique_name_in_owner = true
  287. layout_mode = 2
  288. size_flags_horizontal = 3
  289. theme_override_font_sizes/font_size = 16
  290. item_count = 6
  291. selected = 3
  292. popup/item_0/text = "Minimum (Fastest)"
  293. popup/item_0/id = 0
  294. popup/item_1/text = "Very Low (Faster)"
  295. popup/item_1/id = 1
  296. popup/item_2/text = "Low (Fast)"
  297. popup/item_2/id = 2
  298. popup/item_3/text = "Medium (Average)"
  299. popup/item_3/id = 3
  300. popup/item_4/text = "High (Slow)"
  301. popup/item_4/id = 4
  302. popup/item_5/text = "Ultra (Slowest)"
  303. popup/item_5/id = 5
  304. [node name="ShadowFilterLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer4"]
  305. layout_mode = 2
  306. size_flags_horizontal = 3
  307. theme_override_font_sizes/font_size = 16
  308. text = "Shadow Filtering:"
  309. [node name="ShadowFilterOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer4"]
  310. unique_name_in_owner = true
  311. layout_mode = 2
  312. size_flags_horizontal = 3
  313. theme_override_font_sizes/font_size = 16
  314. item_count = 6
  315. selected = 2
  316. popup/item_0/text = "Very Low (Fastest)"
  317. popup/item_0/id = 0
  318. popup/item_1/text = "Low (Faster)"
  319. popup/item_1/id = 1
  320. popup/item_2/text = "Medium (Fast)"
  321. popup/item_2/id = 2
  322. popup/item_3/text = "High (Average)"
  323. popup/item_3/id = 3
  324. popup/item_4/text = "Very High (Slow)"
  325. popup/item_4/id = 4
  326. popup/item_5/text = "Ultra (Slower)"
  327. popup/item_5/id = 5
  328. [node name="MeshLODLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer4"]
  329. layout_mode = 2
  330. size_flags_horizontal = 3
  331. theme_override_font_sizes/font_size = 16
  332. text = "Model Quality:"
  333. [node name="MeshLODOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer4"]
  334. unique_name_in_owner = true
  335. layout_mode = 2
  336. size_flags_horizontal = 3
  337. theme_override_font_sizes/font_size = 16
  338. item_count = 4
  339. selected = 2
  340. popup/item_0/text = "Low (Faster)"
  341. popup/item_0/id = 0
  342. popup/item_1/text = "Medium (Fast)"
  343. popup/item_1/id = 1
  344. popup/item_2/text = "High (Average)"
  345. popup/item_2/id = 2
  346. popup/item_3/text = "Ultra (Slow)"
  347. popup/item_3/id = 3
  348. [node name="EnvironmentSection" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer"]
  349. layout_mode = 2
  350. theme_override_colors/font_color = Color(0.683425, 0.916893, 1, 1)
  351. text = "Effect Settings"
  352. horizontal_alignment = 1
  353. [node name="Environment" type="GridContainer" parent="SettingsMenu/ScrollContainer/VBoxContainer"]
  354. layout_mode = 2
  355. columns = 2
  356. [node name="SDFGILabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  357. layout_mode = 2
  358. size_flags_horizontal = 3
  359. theme_override_font_sizes/font_size = 16
  360. text = "Global Illumination:"
  361. [node name="SDFGIOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  362. unique_name_in_owner = true
  363. layout_mode = 2
  364. size_flags_horizontal = 3
  365. theme_override_font_sizes/font_size = 16
  366. item_count = 3
  367. selected = 0
  368. popup/item_0/text = "Disabled (Fastest)"
  369. popup/item_0/id = 0
  370. popup/item_1/text = "Low (Average)"
  371. popup/item_1/id = 1
  372. popup/item_2/text = "High (Slow)"
  373. popup/item_2/id = 2
  374. [node name="GlowLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  375. layout_mode = 2
  376. size_flags_horizontal = 3
  377. theme_override_font_sizes/font_size = 16
  378. text = "Bloom:"
  379. [node name="GlowOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  380. unique_name_in_owner = true
  381. layout_mode = 2
  382. size_flags_horizontal = 3
  383. theme_override_font_sizes/font_size = 16
  384. item_count = 3
  385. selected = 0
  386. popup/item_0/text = "Disabled (Fastest)"
  387. popup/item_0/id = 0
  388. popup/item_1/text = "Low (Fast)"
  389. popup/item_1/id = 1
  390. popup/item_2/text = "High (Average)"
  391. popup/item_2/id = 2
  392. [node name="SSAOLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  393. layout_mode = 2
  394. size_flags_horizontal = 3
  395. theme_override_font_sizes/font_size = 16
  396. text = "Ambient Occlusion:"
  397. [node name="SSAOOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  398. unique_name_in_owner = true
  399. layout_mode = 2
  400. size_flags_horizontal = 3
  401. theme_override_font_sizes/font_size = 16
  402. item_count = 5
  403. selected = 0
  404. popup/item_0/text = "Disabled (Fastest)"
  405. popup/item_0/id = 0
  406. popup/item_1/text = "Very Low (Fast)"
  407. popup/item_1/id = 1
  408. popup/item_2/text = "Low (Fast)"
  409. popup/item_2/id = 2
  410. popup/item_3/text = "Medium (Average)"
  411. popup/item_3/id = 3
  412. popup/item_4/text = "High (Slow)"
  413. popup/item_4/id = 4
  414. [node name="SSReflectionsLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  415. layout_mode = 2
  416. size_flags_horizontal = 3
  417. theme_override_font_sizes/font_size = 14
  418. text = "Screen-Space Reflections:"
  419. [node name="SSReflectionsOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  420. unique_name_in_owner = true
  421. layout_mode = 2
  422. size_flags_horizontal = 3
  423. theme_override_font_sizes/font_size = 16
  424. item_count = 4
  425. selected = 0
  426. popup/item_0/text = "Disabled (Fastest)"
  427. popup/item_0/id = 0
  428. popup/item_1/text = "Low (Average)"
  429. popup/item_1/id = 1
  430. popup/item_2/text = "Medium (Slow)"
  431. popup/item_2/id = 2
  432. popup/item_3/text = "High (Slower)"
  433. popup/item_3/id = 3
  434. [node name="SSILLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  435. layout_mode = 2
  436. size_flags_horizontal = 3
  437. theme_override_font_sizes/font_size = 16
  438. text = "Screen-Space Lighting:"
  439. [node name="SSILOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  440. unique_name_in_owner = true
  441. layout_mode = 2
  442. size_flags_horizontal = 3
  443. theme_override_font_sizes/font_size = 16
  444. item_count = 5
  445. selected = 0
  446. popup/item_0/text = "Disabled (Fastest)"
  447. popup/item_0/id = 0
  448. popup/item_1/text = "Very Low (Fast)"
  449. popup/item_1/id = 1
  450. popup/item_2/text = "Low (Average)"
  451. popup/item_2/id = 2
  452. popup/item_3/text = "Medium (Slow)"
  453. popup/item_3/id = 3
  454. popup/item_4/text = "High (Slower)"
  455. popup/item_4/id = 4
  456. [node name="VolumetricFogLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  457. layout_mode = 2
  458. size_flags_horizontal = 3
  459. theme_override_font_sizes/font_size = 16
  460. text = "Volumetric Fog:"
  461. [node name="VolumetricFogOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  462. unique_name_in_owner = true
  463. layout_mode = 2
  464. size_flags_horizontal = 3
  465. theme_override_font_sizes/font_size = 16
  466. item_count = 3
  467. selected = 0
  468. popup/item_0/text = "Disabled (Fastest)"
  469. popup/item_0/id = 0
  470. popup/item_1/text = "Low (Fast)"
  471. popup/item_1/id = 1
  472. popup/item_2/text = "High (Average)"
  473. popup/item_2/id = 2
  474. [node name="AdjustmentSection" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer"]
  475. layout_mode = 2
  476. theme_override_colors/font_color = Color(0.683425, 0.916893, 1, 1)
  477. text = "Adjustments"
  478. horizontal_alignment = 1
  479. [node name="Adjustments" type="GridContainer" parent="SettingsMenu/ScrollContainer/VBoxContainer"]
  480. layout_mode = 2
  481. columns = 2
  482. [node name="BrightnessLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/Adjustments"]
  483. layout_mode = 2
  484. size_flags_horizontal = 3
  485. theme_override_font_sizes/font_size = 16
  486. text = "Brightness:"
  487. [node name="BrightnessSlider" type="HSlider" parent="SettingsMenu/ScrollContainer/VBoxContainer/Adjustments"]
  488. layout_mode = 2
  489. size_flags_horizontal = 3
  490. size_flags_vertical = 1
  491. min_value = 0.5
  492. max_value = 2.0
  493. step = 0.01
  494. value = 1.0
  495. [node name="ContrastLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/Adjustments"]
  496. layout_mode = 2
  497. size_flags_horizontal = 3
  498. theme_override_font_sizes/font_size = 16
  499. text = "Contrast:"
  500. [node name="ContrastSlider" type="HSlider" parent="SettingsMenu/ScrollContainer/VBoxContainer/Adjustments"]
  501. layout_mode = 2
  502. size_flags_horizontal = 3
  503. size_flags_vertical = 1
  504. min_value = 0.5
  505. max_value = 2.0
  506. step = 0.01
  507. value = 1.0
  508. [node name="SaturationLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/Adjustments"]
  509. layout_mode = 2
  510. size_flags_horizontal = 3
  511. theme_override_font_sizes/font_size = 16
  512. text = "Saturation:"
  513. [node name="SaturationSlider" type="HSlider" parent="SettingsMenu/ScrollContainer/VBoxContainer/Adjustments"]
  514. layout_mode = 2
  515. size_flags_horizontal = 3
  516. size_flags_vertical = 1
  517. min_value = 0.01
  518. max_value = 2.0
  519. step = 0.01
  520. value = 1.0
  521. [node name="HideShowButton" type="Button" parent="."]
  522. layout_mode = 0
  523. offset_right = 149.0
  524. offset_bottom = 31.0
  525. focus_mode = 0
  526. theme_override_font_sizes/font_size = 16
  527. toggle_mode = true
  528. button_pressed = true
  529. text = "Hide settings"
  530. [node name="FPSLabel" type="Label" parent="."]
  531. layout_mode = 1
  532. anchors_preset = 1
  533. anchor_left = 1.0
  534. anchor_right = 1.0
  535. offset_left = -56.0
  536. offset_top = 16.0
  537. offset_right = -16.0
  538. offset_bottom = 39.0
  539. grow_horizontal = 0
  540. theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
  541. theme_override_constants/outline_size = 4
  542. horizontal_alignment = 2
  543. metadata/gradient = SubResource("Gradient_ehij4")
  544. [node name="ResolutionLabel" type="Label" parent="."]
  545. layout_mode = 1
  546. anchors_preset = 1
  547. anchor_left = 1.0
  548. anchor_right = 1.0
  549. offset_left = -56.0
  550. offset_top = 48.0
  551. offset_right = -16.0
  552. offset_bottom = 71.0
  553. grow_horizontal = 0
  554. theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
  555. theme_override_constants/outline_size = 4
  556. horizontal_alignment = 2
  557. [connection signal="pressed" from="SettingsMenu/ScrollContainer/VBoxContainer/Presets/VeryLowPreset" to="." method="_on_very_low_preset_pressed"]
  558. [connection signal="pressed" from="SettingsMenu/ScrollContainer/VBoxContainer/Presets/LowPreset" to="." method="_on_low_preset_pressed"]
  559. [connection signal="pressed" from="SettingsMenu/ScrollContainer/VBoxContainer/Presets/MediumPreset" to="." method="_on_medium_preset_pressed"]
  560. [connection signal="pressed" from="SettingsMenu/ScrollContainer/VBoxContainer/Presets/HighPreset" to="." method="_on_high_preset_pressed"]
  561. [connection signal="pressed" from="SettingsMenu/ScrollContainer/VBoxContainer/Presets/UltraPreset" to="." method="_on_ultra_preset_pressed"]
  562. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer/UIScaleOptionButton" to="." method="_on_ui_scale_option_button_item_selected"]
  563. [connection signal="value_changed" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2/QualitySlider" to="." method="_on_quality_slider_value_changed"]
  564. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2/FilterOptionButton" to="." method="_on_filter_option_button_item_selected"]
  565. [connection signal="value_changed" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2/FSRSharpnessSlider" to="." method="_on_fsr_sharpness_slider_value_changed"]
  566. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2/FullscreenOptionButton" to="." method="_on_fullscreen_option_button_item_selected"]
  567. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2/VsyncOptionButton" to="." method="_on_vsync_option_button_item_selected"]
  568. [connection signal="value_changed" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2/LimitFPSSlider" to="." method="_on_limit_fps_slider_value_changed"]
  569. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2/TAAOptionButton" to="." method="_on_taa_option_button_item_selected"]
  570. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2/MSAAOptionButton" to="." method="_on_msaa_option_button_item_selected"]
  571. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2/FXAAOptionButton" to="." method="_on_fxaa_option_button_item_selected"]
  572. [connection signal="value_changed" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2/FOVSlider" to="." method="_on_fov_slider_value_changed"]
  573. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer4/ShadowSizeOptionButton" to="." method="_on_shadow_size_option_button_item_selected"]
  574. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer4/ShadowFilterOptionButton" to="." method="_on_shadow_filter_option_button_item_selected"]
  575. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer4/MeshLODOptionButton" to="." method="_on_mesh_lod_option_button_item_selected"]
  576. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/Environment/SDFGIOptionButton" to="." method="_on_sdfgi_option_button_item_selected"]
  577. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/Environment/GlowOptionButton" to="." method="_on_glow_option_button_item_selected"]
  578. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/Environment/SSAOOptionButton" to="." method="_on_ssao_option_button_item_selected"]
  579. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/Environment/SSReflectionsOptionButton" to="." method="_on_ss_reflections_option_button_item_selected"]
  580. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/Environment/SSILOptionButton" to="." method="_on_ssil_option_button_item_selected"]
  581. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/Environment/VolumetricFogOptionButton" to="." method="_on_volumetric_fog_option_button_item_selected"]
  582. [connection signal="value_changed" from="SettingsMenu/ScrollContainer/VBoxContainer/Adjustments/BrightnessSlider" to="." method="_on_brightness_slider_value_changed"]
  583. [connection signal="value_changed" from="SettingsMenu/ScrollContainer/VBoxContainer/Adjustments/ContrastSlider" to="." method="_on_contrast_slider_value_changed"]
  584. [connection signal="value_changed" from="SettingsMenu/ScrollContainer/VBoxContainer/Adjustments/SaturationSlider" to="." method="_on_saturation_slider_value_changed"]
  585. [connection signal="toggled" from="HideShowButton" to="." method="_on_HideShowButton_toggled"]