slang-shaders/border/average_fill.slangp
fishcu 77b6ca6bed
Add average fill (#443)
* Implement average fill

* Implement corner blend modes

* Add copyright; Change defaults; Add some polish

* Add settings delimiter

* Fix settings name
2023-06-11 15:57:38 -05:00

60 lines
1.2 KiB
Plaintext

shaders = 7
shader0 = ../blurs/shaders/kawase/linearize.slang
scale_type0 = source
scale_x0 = 1.0
scale_y0 = 1.0
float_framebuffer0 = true
alias0 = "Input"
shader1 = shaders/average_fill/crop_and_sample_top.slang
filter_linear1 = true
scale_type1 = absolute
scale_x1 = 512
scale_y1 = 64
float_framebuffer1 = true
wrap_mode1 = mirrored_repeat
alias1 = "Top"
shader2 = shaders/average_fill/crop_and_sample_bottom.slang
filter_linear2 = true
scale_type2 = absolute
scale_x2 = 512
scale_y2 = 64
float_framebuffer2 = true
mipmap_input2 = true
alias2 = "Bottom"
shader3 = shaders/average_fill/crop_and_sample_left.slang
filter_linear3 = true
scale_type3 = absolute
scale_x3 = 64
scale_y3 = 512
float_framebuffer3 = true
mipmap_input3 = true
alias3 = "Left"
shader4 = shaders/average_fill/crop_and_sample_right.slang
filter_linear4 = true
scale_type4 = absolute
scale_x4 = 64
scale_y4 = 512
float_framebuffer4 = true
mipmap_input4 = true
alias4 = "Right"
shader5 = shaders/average_fill/compose.slang
filter_linear5 = true
scale_type5 = viewport
scale_x5 = 1.0
scale_y5 = 1.0
float_framebuffer5 = true
mipmap_input5 = true
shader6 = ../blurs/shaders/kawase/delinearize.slang
filter_linear6 = true
scale_type6 = viewport
scale_x6 = 1.0
scale_y6 = 1.0
float_framebuffer6 = true