From 030724a9aea346e4a9843d5842fb28c6d6c4cf1a Mon Sep 17 00:00:00 2001 From: Peter Fors Date: Thu, 9 Oct 2025 22:07:52 +0200 Subject: Rearrangement and refactoring and optimizations and more accuracy --- shader.h | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'shader.h') diff --git a/shader.h b/shader.h index 1ea10fe..eceb6cb 100644 --- a/shader.h +++ b/shader.h @@ -1,25 +1,19 @@ //============================================================== -// SETUP FOR CRTS +// SETUP FOR CRTS SHADER //============================================================== -#define CRTS_TONE 1 -#define CRTS_CONTRAST 1 -#define CRTS_SATURATION 1 -//-------------------------------------------------------------- -#define CRTS_WARP 1 -//-------------------------------------------------------------- // Try different masks // #define CRTS_MASK_GRILLE 1 // #define CRTS_MASK_GRILLE_LITE 1 // #define CRTS_MASK_NONE 1 #define CRTS_MASK_SHADOW 1 -// -------------------------------------------------------------- +//-------------------------------------------------------------- // Scanline thinness // 0.50 = fused scanlines // 0.70 = recommended default // 1.00 = thinner scanlines (too thin) -#define INPUT_THIN 0.7 +#define INPUT_THIN 0.70 //-------------------------------------------------------------- -// Horizonal scan blur +// Horizontal scan blur // -3.0 = pixely // -2.5 = default // -2.0 = smooth @@ -30,5 +24,5 @@ // 0.25 = large amount of mask (not recommended, too dark) // 0.50 = recommended default // 1.00 = no shadow mask -#define INPUT_MASK 0.6 +#define INPUT_MASK 0.5 -- cgit v1.2.3