added a toggle option for motion blur
This commit is contained in:
parent
83f818bbe5
commit
8861675341
3 changed files with 13 additions and 4 deletions
|
|
@ -55,6 +55,9 @@ func _input(event: InputEvent) -> void:
|
|||
|
||||
if Input.is_action_just_pressed("freeze"):
|
||||
motion_blur_effect.freeze = !motion_blur_effect.freeze
|
||||
|
||||
if Input.is_action_just_pressed("T"):
|
||||
motion_blur_effect.enabled = !motion_blur_effect.enabled
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
$"../Control/VBoxContainer/HBoxContainer2/fps".text = str(Engine.get_frames_per_second())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue