From 59f7e9a8f79abe88a32bb2f484f497da99ac9d6c Mon Sep 17 00:00:00 2001 From: Llywelwyn Date: Sat, 7 Oct 2023 11:05:37 +0100 Subject: [PATCH] clamps colour offsets to +-50%, rather than -50% to +100% --- src/consts/visuals.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/consts/visuals.rs b/src/consts/visuals.rs index 3849ee2..3638c05 100644 --- a/src/consts/visuals.rs +++ b/src/consts/visuals.rs @@ -20,7 +20,7 @@ pub const HP_BAR_LAYER: usize = 4; pub const BRIGHTEN_FG_COLOUR_BY: i32 = 16; pub const GLOBAL_OFFSET_MIN_CLAMP: f32 = -0.5; -pub const GLOBAL_OFFSET_MAX_CLAMP: f32 = 1.0; +pub const GLOBAL_OFFSET_MAX_CLAMP: f32 = 0.5; pub const SPRITE_OFFSET_MIN_CLAMP: f32 = 0.85; pub const SPRITE_OFFSET_MAX_CLAMP: f32 = 1.0; pub const WITH_SCANLINES_BRIGHTEN_AMOUNT: f32 = 0.1; // 0.0 = no brightening, 1.0 = full brightening.