shadow toggling

This commit is contained in:
Persephone Bubblegum-Holiday 2025-08-14 00:04:25 -07:00
parent b98057007b
commit ac94a2c2ed
21 changed files with 400 additions and 354 deletions

View file

@ -19,12 +19,10 @@ func _on_fov_slider_value_changed(value: float) -> void:
$FOVSlider/CurrentLabel.text = str(int(value))
Globalvariables.updateConfig()
func _on_option_aa_ss_item_selected(index: int) -> void:
get_viewport().screen_space_aa = int(index == 1) as Viewport.ScreenSpaceAA
Globalvariables.updateConfig()
func _on_option_aa_msaa_item_selected(index: int) -> void:
if index == 0: # Disabled
get_viewport().msaa_3d = Viewport.MSAA_DISABLED
@ -35,3 +33,7 @@ func _on_option_aa_msaa_item_selected(index: int) -> void:
elif index == 3: # 8×
get_viewport().msaa_3d = Viewport.MSAA_8X
Globalvariables.updateConfig()
func _on_shadows_option_item_selected(index: int) -> void:
Globalvariables.shadows = index
Globalvariables.updateConfig()