slang-shaders/crt/crt-1tap-bloom.slangp
fishcu a6e11453ad
Add bloom based on dual filter blur (#367)
* Update CRT-1tap to v1.2

* update default param

* Update default param

* Add bloom based on dual filter blur

Previously squashed commits:
WIP:Dual filtering bloom effect
Add scale level weighting; Comment out debug code; Simplify tonemap
Debug:Show bloom contrib
Tweak defaults; Small bugfixes
Organize shaders into subfolder
Refactor tonemap into separate file
Tweak parameters
Greatly simplify exposure to intensity mapping; Clean up
Fix faster preset
Change luma pass size to 1 pixel
Lots of polishing
Add combined presets
Add docs; Refactor params a bit; Cleanup
Update combined presets
Rename presets for better ordering
2023-02-11 17:19:43 -06:00

293 lines
7.9 KiB
Plaintext

shaders = "26"
feedback_pass = "0"
shader0 = "shaders/crt-1tap.slang"
filter_linear0 = "true"
wrap_mode0 = "clamp_to_border"
mipmap_input0 = "false"
alias0 = ""
float_framebuffer0 = "true"
srgb_framebuffer0 = "false"
scale_type_x0 = "viewport"
scale_x0 = "1.000000"
scale_type_y0 = "viewport"
scale_y0 = "1.000000"
shader1 = "../blurs/shaders/kawase/linearize.slang"
wrap_mode1 = "clamp_to_border"
mipmap_input1 = "false"
alias1 = "Input"
float_framebuffer1 = "true"
srgb_framebuffer1 = "false"
scale_type_x1 = "source"
scale_x1 = "1.000000"
scale_type_y1 = "source"
scale_y1 = "1.000000"
shader2 = "../blurs/shaders/dual_filter/downsample_bloom.slang"
filter_linear2 = "true"
wrap_mode2 = "mirrored_repeat"
mipmap_input2 = "false"
alias2 = ""
float_framebuffer2 = "true"
srgb_framebuffer2 = "false"
scale_type_x2 = "viewport"
scale_x2 = "0.700000"
scale_type_y2 = "viewport"
scale_y2 = "0.700000"
shader3 = "../blurs/shaders/dual_filter/upsample.slang"
filter_linear3 = "true"
wrap_mode3 = "mirrored_repeat"
mipmap_input3 = "false"
alias3 = ""
float_framebuffer3 = "true"
srgb_framebuffer3 = "false"
scale_type_x3 = "source"
scale_x3 = "1.000000"
scale_type_y3 = "source"
scale_y3 = "1.000000"
shader4 = "../blurs/shaders/dual_filter/downsample.slang"
filter_linear4 = "true"
wrap_mode4 = "mirrored_repeat"
mipmap_input4 = "false"
alias4 = ""
float_framebuffer4 = "true"
srgb_framebuffer4 = "false"
scale_type_x4 = "source"
scale_x4 = "0.500000"
scale_type_y4 = "source"
scale_y4 = "0.500000"
shader5 = "../blurs/shaders/dual_filter/upsample.slang"
filter_linear5 = "true"
wrap_mode5 = "mirrored_repeat"
mipmap_input5 = "false"
alias5 = "Scale1"
float_framebuffer5 = "true"
srgb_framebuffer5 = "false"
scale_type_x5 = "source"
scale_x5 = "2.000000"
scale_type_y5 = "source"
scale_y5 = "2.000000"
shader6 = "../blurs/shaders/dual_filter/downsample.slang"
filter_linear6 = "true"
wrap_mode6 = "mirrored_repeat"
mipmap_input6 = "false"
alias6 = ""
float_framebuffer6 = "true"
srgb_framebuffer6 = "false"
scale_type_x6 = "source"
scale_x6 = "0.500000"
scale_type_y6 = "source"
scale_y6 = "0.500000"
shader7 = "../blurs/shaders/dual_filter/downsample.slang"
filter_linear7 = "true"
wrap_mode7 = "mirrored_repeat"
mipmap_input7 = "false"
alias7 = ""
float_framebuffer7 = "true"
srgb_framebuffer7 = "false"
scale_type_x7 = "source"
scale_x7 = "0.500000"
scale_type_y7 = "source"
scale_y7 = "0.500000"
shader8 = "../blurs/shaders/dual_filter/upsample.slang"
filter_linear8 = "true"
wrap_mode8 = "mirrored_repeat"
mipmap_input8 = "false"
alias8 = "Scale2"
float_framebuffer8 = "true"
srgb_framebuffer8 = "false"
scale_type_x8 = "source"
scale_x8 = "2.000000"
scale_type_y8 = "source"
scale_y8 = "2.000000"
shader9 = "../blurs/shaders/dual_filter/downsample.slang"
filter_linear9 = "true"
wrap_mode9 = "mirrored_repeat"
mipmap_input9 = "false"
alias9 = ""
float_framebuffer9 = "true"
srgb_framebuffer9 = "false"
scale_type_x9 = "source"
scale_x9 = "0.500000"
scale_type_y9 = "source"
scale_y9 = "0.500000"
shader10 = "../blurs/shaders/dual_filter/downsample.slang"
filter_linear10 = "true"
wrap_mode10 = "mirrored_repeat"
mipmap_input10 = "false"
alias10 = ""
float_framebuffer10 = "true"
srgb_framebuffer10 = "false"
scale_type_x10 = "source"
scale_x10 = "0.500000"
scale_type_y10 = "source"
scale_y10 = "0.500000"
shader11 = "../blurs/shaders/dual_filter/upsample.slang"
filter_linear11 = "true"
wrap_mode11 = "mirrored_repeat"
mipmap_input11 = "false"
alias11 = "Scale3"
float_framebuffer11 = "true"
srgb_framebuffer11 = "false"
scale_type_x11 = "source"
scale_x11 = "2.000000"
scale_type_y11 = "source"
scale_y11 = "2.000000"
shader12 = "../blurs/shaders/dual_filter/downsample.slang"
filter_linear12 = "true"
wrap_mode12 = "mirrored_repeat"
mipmap_input12 = "false"
alias12 = ""
float_framebuffer12 = "true"
srgb_framebuffer12 = "false"
scale_type_x12 = "source"
scale_x12 = "0.500000"
scale_type_y12 = "source"
scale_y12 = "0.500000"
shader13 = "../blurs/shaders/dual_filter/downsample.slang"
filter_linear13 = "true"
wrap_mode13 = "mirrored_repeat"
mipmap_input13 = "false"
alias13 = ""
float_framebuffer13 = "true"
srgb_framebuffer13 = "false"
scale_type_x13 = "source"
scale_x13 = "0.500000"
scale_type_y13 = "source"
scale_y13 = "0.500000"
shader14 = "../blurs/shaders/dual_filter/upsample.slang"
filter_linear14 = "true"
wrap_mode14 = "mirrored_repeat"
mipmap_input14 = "false"
alias14 = "Scale4"
float_framebuffer14 = "true"
srgb_framebuffer14 = "false"
scale_type_x14 = "source"
scale_x14 = "2.000000"
scale_type_y14 = "source"
scale_y14 = "2.000000"
shader15 = "../blurs/shaders/dual_filter/downsample.slang"
filter_linear15 = "true"
wrap_mode15 = "mirrored_repeat"
mipmap_input15 = "false"
alias15 = ""
float_framebuffer15 = "true"
srgb_framebuffer15 = "false"
scale_type_x15 = "source"
scale_x15 = "0.500000"
scale_type_y15 = "source"
scale_y15 = "0.500000"
shader16 = "../blurs/shaders/dual_filter/downsample.slang"
filter_linear16 = "true"
wrap_mode16 = "mirrored_repeat"
mipmap_input16 = "false"
alias16 = ""
float_framebuffer16 = "true"
srgb_framebuffer16 = "false"
scale_type_x16 = "source"
scale_x16 = "0.500000"
scale_type_y16 = "source"
scale_y16 = "0.500000"
shader17 = "../blurs/shaders/dual_filter/upsample.slang"
filter_linear17 = "true"
wrap_mode17 = "mirrored_repeat"
mipmap_input17 = "false"
alias17 = "Scale5"
float_framebuffer17 = "true"
srgb_framebuffer17 = "false"
scale_type_x17 = "source"
scale_x17 = "2.000000"
scale_type_y17 = "source"
scale_y17 = "2.000000"
shader18 = "../blurs/shaders/dual_filter/downsample.slang"
filter_linear18 = "true"
wrap_mode18 = "mirrored_repeat"
mipmap_input18 = "false"
alias18 = ""
float_framebuffer18 = "true"
srgb_framebuffer18 = "false"
scale_type_x18 = "source"
scale_x18 = "0.500000"
scale_type_y18 = "source"
scale_y18 = "0.500000"
shader19 = "../blurs/shaders/dual_filter/downsample.slang"
filter_linear19 = "true"
wrap_mode19 = "mirrored_repeat"
mipmap_input19 = "false"
alias19 = ""
float_framebuffer19 = "true"
srgb_framebuffer19 = "false"
scale_type_x19 = "source"
scale_x19 = "0.500000"
scale_type_y19 = "source"
scale_y19 = "0.500000"
shader20 = "../blurs/shaders/dual_filter/upsample.slang"
filter_linear20 = "true"
wrap_mode20 = "mirrored_repeat"
mipmap_input20 = "false"
alias20 = "Scale6"
float_framebuffer20 = "true"
srgb_framebuffer20 = "false"
scale_type_x20 = "source"
scale_x20 = "2.000000"
scale_type_y20 = "source"
scale_y20 = "2.000000"
shader21 = "../blurs/shaders/dual_filter/naive_resample.slang"
filter_linear21 = "true"
wrap_mode21 = "mirrored_repeat"
mipmap_input21 = "false"
alias21 = ""
float_framebuffer21 = "true"
srgb_framebuffer21 = "false"
scale_type_x21 = "absolute"
scale_x21 = "128"
scale_type_y21 = "absolute"
scale_y21 = "128"
shader22 = "../blurs/shaders/dual_filter/moving_avg.slang"
filter_linear22 = "true"
wrap_mode22 = "clamp_to_border"
mipmap_input22 = "true"
alias22 = "MovingAverage"
float_framebuffer22 = "true"
srgb_framebuffer22 = "false"
scale_type_x22 = "absolute"
scale_x22 = "2"
scale_type_y22 = "absolute"
scale_y22 = "2"
shader23 = "../blurs/shaders/dual_filter/bloom_blend.slang"
filter_linear23 = "true"
wrap_mode23 = "clamp_to_border"
mipmap_input23 = "false"
alias23 = ""
float_framebuffer23 = "true"
srgb_framebuffer23 = "false"
scale_type_x23 = "viewport"
scale_x23 = "1.000000"
scale_type_y23 = "viewport"
scale_y23 = "1.000000"
shader24 = "../blurs/shaders/kawase/delinearize.slang"
filter_linear24 = "true"
wrap_mode24 = "clamp_to_border"
mipmap_input24 = "false"
alias24 = ""
float_framebuffer24 = "true"
srgb_framebuffer24 = "false"
scale_type_x24 = "viewport"
scale_x24 = "1.000000"
scale_type_y24 = "viewport"
scale_y24 = "1.000000"
shader25 = "../sharpen/shaders/rcas.slang"
filter_linear25 = "false"
wrap_mode25 = "clamp_to_border"
mipmap_input25 = "false"
alias25 = ""
float_framebuffer25 = "false"
srgb_framebuffer25 = "false"
scale_type_x25 = "source"
scale_x25 = "1.000000"
scale_type_y25 = "source"
scale_y25 = "1.000000"
BLUR_RADIUS = "2.000000"
MIN_EXP_INTENSITY = "0.500000"
BLOOM_THRESHOLD = "2.500000"
EYE_ADAPTION = "0.850000"
RCAS_STRENGTH = "1.000000"