aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/global.gd12
1 files changed, 6 insertions, 6 deletions
diff --git a/client/global.gd b/client/global.gd
index 949d1fc5..0a510d4c 100644
--- a/client/global.gd
+++ b/client/global.gd
@@ -54,16 +54,16 @@ var default_settings := {
"server_binary": TextSetting.new(tr("Server binary (leave empty to search PATH)"), "", tr("Enter path")),
"server_data": TextSetting.new(tr("Server data directory (leave empty to auto-detect)"), "", tr("Enter path")),
"ui_scale": DropdownSetting.new(tr("UI scale"), 0, [tr("Resize"), tr("Disabled")]),
- "aa": DropdownSetting.new(tr("Anti-aliasing"), 2, [tr("Disabled"), "FXAA", "MSAA 2x", "MSAA 4x"]),
- "ssao": ToggleSetting.new(tr("Ambient occlusion"), true),
+ "aa": DropdownSetting.new(tr("Anti-aliasing"), 2 if on_vulkan() else 0, [tr("Disabled"), "FXAA", "MSAA 2x", "MSAA 4x"]),
+ "ssao": ToggleSetting.new(tr("Ambient occlusion"), true if on_vulkan() else false),
"taa": ToggleSetting.new(tr("Temporal Anti-Aliasing"), false),
"voxel_gi": ToggleSetting.new(tr("Use VoxelGI (Blocks the game on map update but is more accurate)"), false),
"sdfgi": ToggleSetting.new(tr("Use SDFGI (Doesn't block the game but produces more artifacts)"), false),
- "shadows": ToggleSetting.new(tr("Enable shadows"), true),
- "glow": ToggleSetting.new(tr("Enable glow"), true),
+ "shadows": ToggleSetting.new(tr("Enable shadows"), true if on_vulkan() else false),
+ "glow": ToggleSetting.new(tr("Enable glow"), true if on_vulkan() else false),
"debug_info": ToggleSetting.new(tr("Display debug info (Framerate, etc.)"), false),
- "grass_amount": RangeSetting.new(tr("3D grass amount per grass tile"), 16, 0, 32),
- "lq_trees": ToggleSetting.new(tr("Low-poly trees"), false),
+ "grass_amount": RangeSetting.new(tr("3D grass amount per grass tile"), 16 if on_vulkan() else 0, 0, 32),
+ "lq_trees": ToggleSetting.new(tr("Low-poly trees"), false if on_vulkan() else true),
"setup_complete": ToggleSetting.new(tr("Initial setup complete. (Uncheck and restart to reenter)"), false),
"tutorial_started": ToggleSetting.new(tr("Tutorial started"), false),
"latch_boost": ToggleSetting.new(tr("Always extend boost to maximum duration"), true)