From 9feb51764077093a95a7b98af4b936a242096087 Mon Sep 17 00:00:00 2001 From: LaG1924 Date: Sat, 25 Dec 2021 11:37:53 +0500 Subject: Added smooth lighting settings parameter --- cwd/assets/altcraft/scripts/ui.lua | 1 + cwd/assets/altcraft/ui/options-styles.rcss | 2 +- cwd/assets/altcraft/ui/options.rml | 6 ++++++ 3 files changed, 8 insertions(+), 1 deletion(-) (limited to 'cwd/assets/altcraft') diff --git a/cwd/assets/altcraft/scripts/ui.lua b/cwd/assets/altcraft/scripts/ui.lua index 5973fc4..b8a7329 100644 --- a/cwd/assets/altcraft/scripts/ui.lua +++ b/cwd/assets/altcraft/scripts/ui.lua @@ -8,6 +8,7 @@ local options = { targetFps = 60, vsync = false, wireframe = false, + smoothlight = false, ssaoSamples = 0, ssaoScale = 0.5, } diff --git a/cwd/assets/altcraft/ui/options-styles.rcss b/cwd/assets/altcraft/ui/options-styles.rcss index 4822580..13c20d2 100644 --- a/cwd/assets/altcraft/ui/options-styles.rcss +++ b/cwd/assets/altcraft/ui/options-styles.rcss @@ -80,5 +80,5 @@ input.range sliderarrowinc { width: 45%; height: 8%; position: fixed; - margin: 3% auto auto; + margin: 0% auto auto; } diff --git a/cwd/assets/altcraft/ui/options.rml b/cwd/assets/altcraft/ui/options.rml index 7211ef2..4529487 100644 --- a/cwd/assets/altcraft/ui/options.rml +++ b/cwd/assets/altcraft/ui/options.rml @@ -61,6 +61,12 @@ +
+ + + +
+
-- cgit v1.2.3