control.tscn 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656
  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. selected = 2
  103. item_count = 5
  104. popup/item_0/text = "Smaller (66%)"
  105. popup/item_1/text = "Small (80%)"
  106. popup/item_1/id = 1
  107. popup/item_2/text = "Medium (100%)"
  108. popup/item_2/id = 2
  109. popup/item_3/text = "Large (133%)"
  110. popup/item_3/id = 3
  111. popup/item_4/text = "Larger (200%)"
  112. popup/item_4/id = 4
  113. [node name="ViewportSection" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer"]
  114. layout_mode = 2
  115. theme_override_colors/font_color = Color(0.683425, 0.916893, 1, 1)
  116. text = "Video Settings"
  117. horizontal_alignment = 1
  118. [node name="GridContainer2" type="GridContainer" parent="SettingsMenu/ScrollContainer/VBoxContainer"]
  119. layout_mode = 2
  120. columns = 2
  121. [node name="QualityLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  122. layout_mode = 2
  123. size_flags_horizontal = 3
  124. theme_override_font_sizes/font_size = 16
  125. text = "Resolution Scale:"
  126. [node name="QualitySlider" type="HSlider" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  127. layout_mode = 2
  128. size_flags_horizontal = 3
  129. size_flags_vertical = 1
  130. min_value = 0.25
  131. max_value = 2.0
  132. step = 0.05
  133. value = 1.0
  134. [node name="FilterLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  135. layout_mode = 2
  136. size_flags_horizontal = 3
  137. theme_override_font_sizes/font_size = 16
  138. text = "Display Filter:"
  139. [node name="FilterOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  140. layout_mode = 2
  141. size_flags_horizontal = 3
  142. theme_override_font_sizes/font_size = 16
  143. selected = 0
  144. item_count = 3
  145. popup/item_0/text = "Bilinear (Fastest)"
  146. popup/item_1/text = "FSR 1.0 (Fast)"
  147. popup/item_1/id = 1
  148. popup/item_2/text = "FSR 2.2 (Slow)"
  149. popup/item_2/id = 2
  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. selected = 0
  176. item_count = 3
  177. popup/item_0/text = "Disabled"
  178. popup/item_1/text = "Enabled"
  179. popup/item_1/id = 1
  180. popup/item_2/text = "Exclusive"
  181. popup/item_2/id = 2
  182. [node name="VsyncLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  183. layout_mode = 2
  184. size_flags_horizontal = 3
  185. theme_override_font_sizes/font_size = 16
  186. text = "V-Sync:"
  187. [node name="VsyncOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  188. layout_mode = 2
  189. size_flags_horizontal = 3
  190. theme_override_font_sizes/font_size = 16
  191. selected = 0
  192. item_count = 3
  193. popup/item_0/text = "Disabled"
  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. selected = 0
  220. item_count = 2
  221. popup/item_0/text = "Disabled (Fastest)"
  222. popup/item_1/text = "Enabled (Average)"
  223. popup/item_1/id = 1
  224. [node name="MSAALabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  225. layout_mode = 2
  226. size_flags_horizontal = 3
  227. theme_override_font_sizes/font_size = 16
  228. text = "Anti-Aliasing (MSAA):"
  229. [node name="MSAAOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  230. unique_name_in_owner = true
  231. layout_mode = 2
  232. size_flags_horizontal = 3
  233. theme_override_font_sizes/font_size = 16
  234. selected = 0
  235. item_count = 4
  236. popup/item_0/text = "Disabled (Fastest)"
  237. popup/item_1/text = "2× (Average)"
  238. popup/item_1/id = 1
  239. popup/item_2/text = "4× (Slow)"
  240. popup/item_2/id = 2
  241. popup/item_3/text = "8× (Slower)"
  242. popup/item_3/id = 3
  243. [node name="FXAALabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  244. layout_mode = 2
  245. size_flags_horizontal = 3
  246. theme_override_font_sizes/font_size = 16
  247. text = "Anti-Aliasing (FXAA):"
  248. [node name="FXAAOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  249. unique_name_in_owner = true
  250. layout_mode = 2
  251. size_flags_horizontal = 3
  252. theme_override_font_sizes/font_size = 16
  253. selected = 0
  254. item_count = 2
  255. popup/item_0/text = "Disabled (Fastest)"
  256. popup/item_1/text = "Enabled (Fast)"
  257. popup/item_1/id = 1
  258. [node name="FOVLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  259. layout_mode = 2
  260. size_flags_horizontal = 3
  261. theme_override_font_sizes/font_size = 16
  262. text = "Field of View:"
  263. [node name="FOVSlider" type="HSlider" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2"]
  264. layout_mode = 2
  265. size_flags_horizontal = 3
  266. size_flags_vertical = 1
  267. min_value = 50.0
  268. value = 50.0
  269. [node name="QualitySection" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer"]
  270. layout_mode = 2
  271. theme_override_colors/font_color = Color(0.683425, 0.916893, 1, 1)
  272. text = "Quality Settings"
  273. horizontal_alignment = 1
  274. [node name="GridContainer4" type="GridContainer" parent="SettingsMenu/ScrollContainer/VBoxContainer"]
  275. layout_mode = 2
  276. columns = 2
  277. [node name="ShadowSizeLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer4"]
  278. layout_mode = 2
  279. size_flags_horizontal = 3
  280. theme_override_font_sizes/font_size = 16
  281. text = "Shadow Resolution:"
  282. [node name="ShadowSizeOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer4"]
  283. unique_name_in_owner = true
  284. layout_mode = 2
  285. size_flags_horizontal = 3
  286. theme_override_font_sizes/font_size = 16
  287. selected = 3
  288. item_count = 6
  289. popup/item_0/text = "Minimum (Fastest)"
  290. popup/item_1/text = "Very Low (Faster)"
  291. popup/item_1/id = 1
  292. popup/item_2/text = "Low (Fast)"
  293. popup/item_2/id = 2
  294. popup/item_3/text = "Medium (Average)"
  295. popup/item_3/id = 3
  296. popup/item_4/text = "High (Slow)"
  297. popup/item_4/id = 4
  298. popup/item_5/text = "Ultra (Slowest)"
  299. popup/item_5/id = 5
  300. [node name="ShadowFilterLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer4"]
  301. layout_mode = 2
  302. size_flags_horizontal = 3
  303. theme_override_font_sizes/font_size = 16
  304. text = "Shadow Filtering:"
  305. [node name="ShadowFilterOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer4"]
  306. unique_name_in_owner = true
  307. layout_mode = 2
  308. size_flags_horizontal = 3
  309. theme_override_font_sizes/font_size = 16
  310. selected = 2
  311. item_count = 6
  312. popup/item_0/text = "Very Low (Fastest)"
  313. popup/item_1/text = "Low (Faster)"
  314. popup/item_1/id = 1
  315. popup/item_2/text = "Medium (Fast)"
  316. popup/item_2/id = 2
  317. popup/item_3/text = "High (Average)"
  318. popup/item_3/id = 3
  319. popup/item_4/text = "Very High (Slow)"
  320. popup/item_4/id = 4
  321. popup/item_5/text = "Ultra (Slower)"
  322. popup/item_5/id = 5
  323. [node name="MeshLODLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer4"]
  324. layout_mode = 2
  325. size_flags_horizontal = 3
  326. theme_override_font_sizes/font_size = 16
  327. text = "Model Quality:"
  328. [node name="MeshLODOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer4"]
  329. unique_name_in_owner = true
  330. layout_mode = 2
  331. size_flags_horizontal = 3
  332. theme_override_font_sizes/font_size = 16
  333. selected = 2
  334. item_count = 4
  335. popup/item_0/text = "Low (Faster)"
  336. popup/item_1/text = "Medium (Fast)"
  337. popup/item_1/id = 1
  338. popup/item_2/text = "High (Average)"
  339. popup/item_2/id = 2
  340. popup/item_3/text = "Ultra (Slow)"
  341. popup/item_3/id = 3
  342. [node name="EnvironmentSection" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer"]
  343. layout_mode = 2
  344. theme_override_colors/font_color = Color(0.683425, 0.916893, 1, 1)
  345. text = "Effect Settings"
  346. horizontal_alignment = 1
  347. [node name="Environment" type="GridContainer" parent="SettingsMenu/ScrollContainer/VBoxContainer"]
  348. layout_mode = 2
  349. columns = 2
  350. [node name="SDFGILabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  351. layout_mode = 2
  352. size_flags_horizontal = 3
  353. theme_override_font_sizes/font_size = 16
  354. text = "Global Illumination:"
  355. [node name="SDFGIOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  356. unique_name_in_owner = true
  357. layout_mode = 2
  358. size_flags_horizontal = 3
  359. theme_override_font_sizes/font_size = 16
  360. selected = 0
  361. item_count = 3
  362. popup/item_0/text = "Disabled (Fastest)"
  363. popup/item_1/text = "Low (Average)"
  364. popup/item_1/id = 1
  365. popup/item_2/text = "High (Slow)"
  366. popup/item_2/id = 2
  367. [node name="GlowLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  368. layout_mode = 2
  369. size_flags_horizontal = 3
  370. theme_override_font_sizes/font_size = 16
  371. text = "Bloom:"
  372. [node name="GlowOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  373. unique_name_in_owner = true
  374. layout_mode = 2
  375. size_flags_horizontal = 3
  376. theme_override_font_sizes/font_size = 16
  377. selected = 0
  378. item_count = 3
  379. popup/item_0/text = "Disabled (Fastest)"
  380. popup/item_1/text = "Low (Fast)"
  381. popup/item_1/id = 1
  382. popup/item_2/text = "High (Average)"
  383. popup/item_2/id = 2
  384. [node name="SSAOLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  385. layout_mode = 2
  386. size_flags_horizontal = 3
  387. theme_override_font_sizes/font_size = 16
  388. text = "Ambient Occlusion:"
  389. [node name="SSAOOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  390. unique_name_in_owner = true
  391. layout_mode = 2
  392. size_flags_horizontal = 3
  393. theme_override_font_sizes/font_size = 16
  394. selected = 0
  395. item_count = 6
  396. popup/item_0/text = "Disabled (Fastest)"
  397. popup/item_1/text = "Very Low (Fast)"
  398. popup/item_1/id = 1
  399. popup/item_2/text = "Low (Fast)"
  400. popup/item_2/id = 2
  401. popup/item_3/text = "Medium (Average)"
  402. popup/item_3/id = 3
  403. popup/item_4/text = "High (Slow)"
  404. popup/item_4/id = 4
  405. popup/item_5/text = "Ultra (Slower)"
  406. popup/item_5/id = 5
  407. [node name="SSReflectionsLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  408. layout_mode = 2
  409. size_flags_horizontal = 3
  410. theme_override_font_sizes/font_size = 14
  411. text = "Screen-Space Reflections:"
  412. [node name="SSReflectionsOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  413. unique_name_in_owner = true
  414. layout_mode = 2
  415. size_flags_horizontal = 3
  416. theme_override_font_sizes/font_size = 16
  417. selected = 0
  418. item_count = 4
  419. popup/item_0/text = "Disabled (Fastest)"
  420. popup/item_1/text = "Low (Average)"
  421. popup/item_1/id = 1
  422. popup/item_2/text = "Medium (Slow)"
  423. popup/item_2/id = 2
  424. popup/item_3/text = "High (Slower)"
  425. popup/item_3/id = 3
  426. [node name="SSILLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  427. layout_mode = 2
  428. size_flags_horizontal = 3
  429. theme_override_font_sizes/font_size = 16
  430. text = "Screen-Space Lighting:"
  431. [node name="SSILOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  432. unique_name_in_owner = true
  433. layout_mode = 2
  434. size_flags_horizontal = 3
  435. theme_override_font_sizes/font_size = 16
  436. selected = 0
  437. item_count = 6
  438. popup/item_0/text = "Disabled (Fastest)"
  439. popup/item_1/text = "Very Low (Fast)"
  440. popup/item_1/id = 1
  441. popup/item_2/text = "Low (Average)"
  442. popup/item_2/id = 2
  443. popup/item_3/text = "Medium (Slow)"
  444. popup/item_3/id = 3
  445. popup/item_4/text = "High (Slower)"
  446. popup/item_4/id = 4
  447. popup/item_5/text = "Ultra (Slowest)"
  448. popup/item_5/id = 5
  449. [node name="VolumetricFogLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  450. layout_mode = 2
  451. size_flags_horizontal = 3
  452. theme_override_font_sizes/font_size = 16
  453. text = "Volumetric Fog:"
  454. [node name="VolumetricFogOptionButton" type="OptionButton" parent="SettingsMenu/ScrollContainer/VBoxContainer/Environment"]
  455. unique_name_in_owner = true
  456. layout_mode = 2
  457. size_flags_horizontal = 3
  458. theme_override_font_sizes/font_size = 16
  459. selected = 0
  460. item_count = 3
  461. popup/item_0/text = "Disabled (Fastest)"
  462. popup/item_1/text = "Low (Fast)"
  463. popup/item_1/id = 1
  464. popup/item_2/text = "High (Average)"
  465. popup/item_2/id = 2
  466. [node name="AdjustmentSection" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer"]
  467. layout_mode = 2
  468. theme_override_colors/font_color = Color(0.683425, 0.916893, 1, 1)
  469. text = "Adjustments"
  470. horizontal_alignment = 1
  471. [node name="Adjustments" type="GridContainer" parent="SettingsMenu/ScrollContainer/VBoxContainer"]
  472. layout_mode = 2
  473. columns = 2
  474. [node name="BrightnessLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/Adjustments"]
  475. layout_mode = 2
  476. size_flags_horizontal = 3
  477. theme_override_font_sizes/font_size = 16
  478. text = "Brightness:"
  479. [node name="BrightnessSlider" type="HSlider" parent="SettingsMenu/ScrollContainer/VBoxContainer/Adjustments"]
  480. layout_mode = 2
  481. size_flags_horizontal = 3
  482. size_flags_vertical = 1
  483. min_value = 0.5
  484. max_value = 2.0
  485. step = 0.01
  486. value = 1.0
  487. [node name="ContrastLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/Adjustments"]
  488. layout_mode = 2
  489. size_flags_horizontal = 3
  490. theme_override_font_sizes/font_size = 16
  491. text = "Contrast:"
  492. [node name="ContrastSlider" type="HSlider" parent="SettingsMenu/ScrollContainer/VBoxContainer/Adjustments"]
  493. layout_mode = 2
  494. size_flags_horizontal = 3
  495. size_flags_vertical = 1
  496. min_value = 0.5
  497. max_value = 2.0
  498. step = 0.01
  499. value = 1.0
  500. [node name="SaturationLabel" type="Label" parent="SettingsMenu/ScrollContainer/VBoxContainer/Adjustments"]
  501. layout_mode = 2
  502. size_flags_horizontal = 3
  503. theme_override_font_sizes/font_size = 16
  504. text = "Saturation:"
  505. [node name="SaturationSlider" type="HSlider" parent="SettingsMenu/ScrollContainer/VBoxContainer/Adjustments"]
  506. layout_mode = 2
  507. size_flags_horizontal = 3
  508. size_flags_vertical = 1
  509. min_value = 0.01
  510. max_value = 2.0
  511. step = 0.01
  512. value = 1.0
  513. [node name="HideShowButton" type="Button" parent="."]
  514. layout_mode = 0
  515. offset_right = 149.0
  516. offset_bottom = 31.0
  517. focus_mode = 0
  518. theme_override_font_sizes/font_size = 16
  519. toggle_mode = true
  520. button_pressed = true
  521. text = "Hide settings"
  522. [node name="FPSLabel" type="Label" parent="."]
  523. layout_mode = 1
  524. anchors_preset = 1
  525. anchor_left = 1.0
  526. anchor_right = 1.0
  527. offset_left = -56.0
  528. offset_top = 16.0
  529. offset_right = -16.0
  530. offset_bottom = 39.0
  531. grow_horizontal = 0
  532. theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
  533. theme_override_constants/outline_size = 4
  534. horizontal_alignment = 2
  535. metadata/gradient = SubResource("Gradient_ehij4")
  536. [node name="ResolutionLabel" type="Label" parent="."]
  537. layout_mode = 1
  538. anchors_preset = 1
  539. anchor_left = 1.0
  540. anchor_right = 1.0
  541. offset_left = -56.0
  542. offset_top = 48.0
  543. offset_right = -16.0
  544. offset_bottom = 71.0
  545. grow_horizontal = 0
  546. theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
  547. theme_override_constants/outline_size = 4
  548. horizontal_alignment = 2
  549. [connection signal="pressed" from="SettingsMenu/ScrollContainer/VBoxContainer/Presets/VeryLowPreset" to="." method="_on_very_low_preset_pressed"]
  550. [connection signal="pressed" from="SettingsMenu/ScrollContainer/VBoxContainer/Presets/LowPreset" to="." method="_on_low_preset_pressed"]
  551. [connection signal="pressed" from="SettingsMenu/ScrollContainer/VBoxContainer/Presets/MediumPreset" to="." method="_on_medium_preset_pressed"]
  552. [connection signal="pressed" from="SettingsMenu/ScrollContainer/VBoxContainer/Presets/HighPreset" to="." method="_on_high_preset_pressed"]
  553. [connection signal="pressed" from="SettingsMenu/ScrollContainer/VBoxContainer/Presets/UltraPreset" to="." method="_on_ultra_preset_pressed"]
  554. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer/UIScaleOptionButton" to="." method="_on_ui_scale_option_button_item_selected"]
  555. [connection signal="value_changed" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2/QualitySlider" to="." method="_on_quality_slider_value_changed"]
  556. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2/FilterOptionButton" to="." method="_on_filter_option_button_item_selected"]
  557. [connection signal="value_changed" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2/FSRSharpnessSlider" to="." method="_on_fsr_sharpness_slider_value_changed"]
  558. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2/FullscreenOptionButton" to="." method="_on_fullscreen_option_button_item_selected"]
  559. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2/VsyncOptionButton" to="." method="_on_vsync_option_button_item_selected"]
  560. [connection signal="value_changed" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2/LimitFPSSlider" to="." method="_on_limit_fps_slider_value_changed"]
  561. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2/TAAOptionButton" to="." method="_on_taa_option_button_item_selected"]
  562. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2/MSAAOptionButton" to="." method="_on_msaa_option_button_item_selected"]
  563. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2/FXAAOptionButton" to="." method="_on_fxaa_option_button_item_selected"]
  564. [connection signal="value_changed" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer2/FOVSlider" to="." method="_on_fov_slider_value_changed"]
  565. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer4/ShadowSizeOptionButton" to="." method="_on_shadow_size_option_button_item_selected"]
  566. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer4/ShadowFilterOptionButton" to="." method="_on_shadow_filter_option_button_item_selected"]
  567. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/GridContainer4/MeshLODOptionButton" to="." method="_on_mesh_lod_option_button_item_selected"]
  568. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/Environment/SDFGIOptionButton" to="." method="_on_sdfgi_option_button_item_selected"]
  569. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/Environment/GlowOptionButton" to="." method="_on_glow_option_button_item_selected"]
  570. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/Environment/SSAOOptionButton" to="." method="_on_ssao_option_button_item_selected"]
  571. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/Environment/SSReflectionsOptionButton" to="." method="_on_ss_reflections_option_button_item_selected"]
  572. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/Environment/SSILOptionButton" to="." method="_on_ssil_option_button_item_selected"]
  573. [connection signal="item_selected" from="SettingsMenu/ScrollContainer/VBoxContainer/Environment/VolumetricFogOptionButton" to="." method="_on_volumetric_fog_option_button_item_selected"]
  574. [connection signal="value_changed" from="SettingsMenu/ScrollContainer/VBoxContainer/Adjustments/BrightnessSlider" to="." method="_on_brightness_slider_value_changed"]
  575. [connection signal="value_changed" from="SettingsMenu/ScrollContainer/VBoxContainer/Adjustments/ContrastSlider" to="." method="_on_contrast_slider_value_changed"]
  576. [connection signal="value_changed" from="SettingsMenu/ScrollContainer/VBoxContainer/Adjustments/SaturationSlider" to="." method="_on_saturation_slider_value_changed"]
  577. [connection signal="toggled" from="HideShowButton" to="." method="_on_HideShowButton_toggled"]