mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2025-02-23 18:17:44 +11:00
more royale work
This commit is contained in:
parent
7c1ea22938
commit
9825d7bb0e
1 changed files with 2 additions and 2 deletions
|
@ -156,7 +156,7 @@ void main()
|
||||||
vec3 phosphor_mask_sample;
|
vec3 phosphor_mask_sample;
|
||||||
#ifdef PHOSPHOR_MASK_MANUALLY_RESIZE
|
#ifdef PHOSPHOR_MASK_MANUALLY_RESIZE
|
||||||
bool sample_orig_luts = true;
|
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
|
#else
|
||||||
const bool sample_orig_luts = true;
|
const bool sample_orig_luts = true;
|
||||||
#endif
|
#endif
|
||||||
|
@ -205,7 +205,7 @@ void main()
|
||||||
// Apply the phosphor mask:
|
// Apply the phosphor mask:
|
||||||
const vec3 phosphor_emission_dim = electron_intensity_dim *
|
const vec3 phosphor_emission_dim = electron_intensity_dim *
|
||||||
phosphor_mask_sample;
|
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
|
#ifdef PHOSPHOR_BLOOM_FAKE
|
||||||
// The BLOOM_APPROX pass approximates a blurred version of a masked
|
// The BLOOM_APPROX pass approximates a blurred version of a masked
|
||||||
// and scanlined image. It's usually used to compute the brightpass,
|
// and scanlined image. It's usually used to compute the brightpass,
|
||||||
|
|
Loading…
Add table
Reference in a new issue