@@ -83,12 +83,17 @@ func _on_filter_option_button_item_selected(index: int) -> void:
83
83
# Viewport scale mode setting.
84
84
if index == 0 : # Bilinear (Fastest)
85
85
get_viewport ().scaling_3d_mode = Viewport .SCALING_3D_MODE_BILINEAR
86
- # FSR Sharpness is only effective when the scaling mode is FSR 1.0.
86
+ # FSR Sharpness is only effective when the scaling mode is FSR 1.0 or 2.2 .
87
87
% FSRSharpnessLabel .visible = false
88
88
% FSRSharpnessSlider .visible = false
89
89
elif index == 1 : # FSR 1.0 (Fast)
90
90
get_viewport ().scaling_3d_mode = Viewport .SCALING_3D_MODE_FSR
91
- # FSR Sharpness is only effective when the scaling mode is FSR 1.0.
91
+ # FSR Sharpness is only effective when the scaling mode is FSR 1.0 or 2.2.
92
+ % FSRSharpnessLabel .visible = true
93
+ % FSRSharpnessSlider .visible = true
94
+ elif index == 2 : # FSR 2.2 (Fast)
95
+ get_viewport ().scaling_3d_mode = Viewport .SCALING_3D_MODE_FSR2
96
+ # FSR Sharpness is only effective when the scaling mode is FSR 1.0 or 2.2.
92
97
% FSRSharpnessLabel .visible = true
93
98
% FSRSharpnessSlider .visible = true
94
99
@@ -259,13 +264,16 @@ func _on_ssao_option_button_item_selected(index: int) -> void:
259
264
RenderingServer .environment_set_ssao_quality (RenderingServer .ENV_SSAO_QUALITY_VERY_LOW , true , 0.5 , 2 , 50 , 300 )
260
265
if index == 2 : # Low
261
266
world_environment .environment .ssao_enabled = true
262
- RenderingServer .environment_set_ssao_quality (RenderingServer .ENV_SSAO_QUALITY_VERY_LOW , true , 0.5 , 2 , 50 , 300 )
267
+ RenderingServer .environment_set_ssao_quality (RenderingServer .ENV_SSAO_QUALITY_LOW , true , 0.5 , 2 , 50 , 300 )
263
268
if index == 3 : # Medium
264
269
world_environment .environment .ssao_enabled = true
265
270
RenderingServer .environment_set_ssao_quality (RenderingServer .ENV_SSAO_QUALITY_MEDIUM , true , 0.5 , 2 , 50 , 300 )
266
271
if index == 4 : # High
267
272
world_environment .environment .ssao_enabled = true
268
273
RenderingServer .environment_set_ssao_quality (RenderingServer .ENV_SSAO_QUALITY_HIGH , true , 0.5 , 2 , 50 , 300 )
274
+ if index == 5 : # Ultra
275
+ world_environment .environment .ssao_enabled = true
276
+ RenderingServer .environment_set_ssao_quality (RenderingServer .ENV_SSAO_QUALITY_ULTRA , true , 0.5 , 2 , 50 , 300 )
269
277
270
278
271
279
func _on_ssil_option_button_item_selected (index : int ) -> void :
@@ -286,6 +294,9 @@ func _on_ssil_option_button_item_selected(index: int) -> void:
286
294
if index == 4 : # High
287
295
world_environment .environment .ssil_enabled = true
288
296
RenderingServer .environment_set_ssil_quality (RenderingServer .ENV_SSIL_QUALITY_HIGH , true , 0.5 , 4 , 50 , 300 )
297
+ if index == 5 : # Ultra
298
+ world_environment .environment .ssil_enabled = true
299
+ RenderingServer .environment_set_ssil_quality (RenderingServer .ENV_SSIL_QUALITY_ULTRA , true , 0.5 , 4 , 50 , 300 )
289
300
290
301
291
302
func _on_sdfgi_option_button_item_selected (index : int ) -> void :
@@ -310,8 +321,10 @@ func _on_glow_option_button_item_selected(index: int) -> void:
310
321
world_environment .environment .glow_enabled = false
311
322
if index == 1 : # Low
312
323
world_environment .environment .glow_enabled = true
324
+ RenderingServer .environment_glow_set_use_bicubic_upscale (false )
313
325
if index == 2 : # High
314
326
world_environment .environment .glow_enabled = true
327
+ RenderingServer .environment_glow_set_use_bicubic_upscale (true )
315
328
316
329
317
330
func _on_volumetric_fog_option_button_item_selected (index : int ) -> void :
0 commit comments