Added layer settings
This commit is contained in:
8
client/ui/settings/video/DepthOfField.gd
Normal file
8
client/ui/settings/video/DepthOfField.gd
Normal 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
|
Reference in New Issue
Block a user