Added layer settings

This commit is contained in:
2024-02-14 13:52:59 +01:00
parent cf31ba3444
commit ec676aad5d
19 changed files with 133 additions and 26 deletions

View File

@ -0,0 +1,8 @@
extends CheckButton
func _ready():
set_pressed_no_signal(Global.camera_attributes.dof_blur_far_enabled)
func on_toggled(toggled_on: bool):
Global.camera_attributes.dof_blur_far_enabled = toggled_on
Global.camera_attributes.dof_blur_near_enabled = toggled_on