aboutsummaryrefslogtreecommitdiff
path: root/client/game.gd
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2024-06-27 17:39:37 +0200
committernokoe <nokoe@mailbox.org>2024-06-27 17:39:37 +0200
commitb284e05536ea0f7dcfc294c02f803386f373a3cf (patch)
treef608072ff9d72eace7d2dcc4debfcfb748d4d6e4 /client/game.gd
parent5b34f8a894e4214df9efd6d5911b8be2d1c4a8be (diff)
downloadhurrycurry-b284e05536ea0f7dcfc294c02f803386f373a3cf.tar
hurrycurry-b284e05536ea0f7dcfc294c02f803386f373a3cf.tar.bz2
hurrycurry-b284e05536ea0f7dcfc294c02f803386f373a3cf.tar.zst
sdfgi, voxelgi settings
Diffstat (limited to 'client/game.gd')
-rw-r--r--client/game.gd4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/game.gd b/client/game.gd
index b36b40a0..68016d82 100644
--- a/client/game.gd
+++ b/client/game.gd
@@ -40,7 +40,9 @@ var players := {}
func _ready():
if !Global.on_vulkan():
environment.environment.tonemap_exposure = 0.5
-
+
+ environment.environment.sdfgi_enabled = Global.settings["sdfgi"]["value"]
+
mp.connection_closed.connect(func(reason: String):
Global.error_message = reason;
$SceneTransition.instant_to("res://menu/error_menu.tscn")