From 9825d7bb0e3784f40d33a1f8a091c844972bebb8 Mon Sep 17 00:00:00 2001 From: hunterk Date: Fri, 2 Sep 2016 12:31:09 -0500 Subject: [PATCH] more royale work --- .../src/crt-royale-scanlines-horizontal-apply-mask.slang | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crt/shaders/crt-royale/src/crt-royale-scanlines-horizontal-apply-mask.slang b/crt/shaders/crt-royale/src/crt-royale-scanlines-horizontal-apply-mask.slang index e7a7949..7da0158 100644 --- a/crt/shaders/crt-royale/src/crt-royale-scanlines-horizontal-apply-mask.slang +++ b/crt/shaders/crt-royale/src/crt-royale-scanlines-horizontal-apply-mask.slang @@ -156,7 +156,7 @@ void main() vec3 phosphor_mask_sample; #ifdef PHOSPHOR_MASK_MANUALLY_RESIZE bool sample_orig_luts = true; - if (params.mask_sample_mode_desired > 0.5) sample_orig_luts = false; + if (params.mask_sample_mode_desired < 0.5) sample_orig_luts = false; #else const bool sample_orig_luts = true; #endif @@ -205,7 +205,7 @@ void main() // Apply the phosphor mask: const vec3 phosphor_emission_dim = electron_intensity_dim * phosphor_mask_sample; - #define PHOSPHOR_BLOOM_FAKE // TODO/FIXME: something seems wrong with the non-FAKE path +// #define PHOSPHOR_BLOOM_FAKE // TODO/FIXME: something seems wrong with the non-FAKE path #ifdef PHOSPHOR_BLOOM_FAKE // The BLOOM_APPROX pass approximates a blurred version of a masked // and scanlined image. It's usually used to compute the brightpass,