From 776d52511567ba27c7d2c98466765a6998615530 Mon Sep 17 00:00:00 2001 From: hunterk Date: Tue, 13 Sep 2016 16:01:13 -0500 Subject: [PATCH] replace some float_framebuffers with srgb_framebuffers --- crt/crt-lottes-multipass.slangp | 18 +++++++++--------- crt/crt-royale.slangp | 5 +---- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/crt/crt-lottes-multipass.slangp b/crt/crt-lottes-multipass.slangp index 30adad4..befe132 100644 --- a/crt/crt-lottes-multipass.slangp +++ b/crt/crt-lottes-multipass.slangp @@ -1,53 +1,53 @@ shaders = 10 shader0 = shaders/crt-lottes-multipass/linearize.slang -float_framebuffer0 = true +srgb_framebuffer0 = true alias0 = "REFERENCE" shader1 = shaders/crt-lottes-multipass/horz3minus1.slang -float_framebuffer1 = true +srgb_framebuffer1 = true scale_type1 = source filter_linear1 = true alias1 = horz3minus1 shader2 = shaders/crt-lottes-multipass/horz3plus1.slang -float_framebuffer2 = true +srgb_framebuffer2 = true scale_type2 = source filter_linear2 = true alias2 = horz3plus1 shader3 = shaders/crt-lottes-multipass/horz5minus2.slang -float_framebuffer3 = true +srgb_framebuffer3 = true scale_type3 = source filter_linear3 = true alias3 = horz5minus2 shader4 = shaders/crt-lottes-multipass/horz5.slang -float_framebuffer4 = true +srgb_framebuffer4 = true scale_type4 = source filter_linear4 = true alias4 = horz5 shader5 = shaders/crt-lottes-multipass/horz5plus2.slang -float_framebuffer5 = true +srgb_framebuffer5 = true scale_type5 = source filter_linear5 = true alias5 = horz5plus2 shader6 = shaders/crt-lottes-multipass/horz7minus1.slang -float_framebuffer6 = true +srgb_framebuffer6 = true scale_type6 = source filter_linear6 = true alias6 = horz7minus1 shader7 = shaders/crt-lottes-multipass/horz7.slang -float_framebuffer7 = true +srgb_framebuffer7 = true scale_type7 = source filter_linear7 = true alias7 = horz7 shader8 = shaders/crt-lottes-multipass/horz7plus1.slang -float_framebuffer8 = true +srgb_framebuffer8 = true scale_type8 = source filter_linear8 = true alias8 = horz7plus1 diff --git a/crt/crt-royale.slangp b/crt/crt-royale.slangp index 9155f44..db45c48 100644 --- a/crt/crt-royale.slangp +++ b/crt/crt-royale.slangp @@ -71,7 +71,6 @@ scale_type_x1 = "source" scale_x1 = "1.0" scale_type_y1 = "viewport" scale_y1 = "1.0" -#float_framebuffer1 = "true" srgb_framebuffer1 = "true" # Pass2: Do a small resize blur of ORIG_LINEARIZED at an absolute size, and @@ -172,7 +171,6 @@ alias7 = "MASKED_SCANLINES" filter_linear7 = "true" # This could just as easily be nearest neighbor. scale_type7 = "viewport" scale7 = "1.0" -#float_framebuffer7 = "true" srgb_framebuffer7 = "true" # Pass 8: Compute a brightpass. This will require reading the final mask. @@ -202,5 +200,4 @@ shader11 = "shaders/crt-royale/src/crt-royale-geometry-aa-last-pass.slang" filter_linear11 = "true" scale_type11 = "viewport" mipmap_input11 = "true" -texture_wrap_mode11 = "clamp_to_edge" - +texture_wrap_mode11 = "clamp_to_edge" \ No newline at end of file