From 5488db25f446dbb3859154b1ed0d18cb2fd0e36c Mon Sep 17 00:00:00 2001 From: metallic77 <43163462+metallic77@users.noreply.github.com> Date: Fri, 22 Sep 2023 07:58:49 +0300 Subject: [PATCH] Update crt-caligari.slang Pixels will overlap each other below 0.5. --- crt/shaders/crt-caligari.slang | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crt/shaders/crt-caligari.slang b/crt/shaders/crt-caligari.slang index 978febb..1e6990b 100644 --- a/crt/shaders/crt-caligari.slang +++ b/crt/shaders/crt-caligari.slang @@ -36,8 +36,8 @@ layout(push_constant) uniform Push // 0.5 = the spot stays inside the original pixel // 1.0 = the spot bleeds up to the center of next pixel -#pragma parameter SPOT_WIDTH "CRTCaligari Spot Width" 0.9 0.1 1.5 0.05 -#pragma parameter SPOT_HEIGHT "CRTCaligari Spot Height" 0.65 0.1 1.5 0.05 +#pragma parameter SPOT_WIDTH "CRTCaligari Spot Width" 0.9 0.5 1.5 0.05 +#pragma parameter SPOT_HEIGHT "CRTCaligari Spot Height" 0.65 0.5 1.5 0.05 // Used to counteract the desaturation effect of weighting. #pragma parameter COLOR_BOOST "CRTCaligari Color Boost" 1.45 1.0 2.0 0.05 // Constants used with gamma correction. @@ -143,4 +143,4 @@ void main() color *= vec4( params.COLOR_BOOST ); FragColor = clamp( GAMMA_OUT(color), 0.0, 1.0 ); -} \ No newline at end of file +}