mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-26 01:11:32 +11:00
b9d89d63db
* Initial commit, WIP * First working version; stretching the blur will require some refactoring * Add blur extension to borders * Implement 'trippy mode' (disable blur, show tiled) * Implement proper scaling, cropping, and centering independent of viewport res * Clean up; Fix bug with small blur pass resolutions * Add blur strength presets; Polish * Add background gamma adjustment
83 lines
1.8 KiB
Plaintext
83 lines
1.8 KiB
Plaintext
shaders = 10
|
|
|
|
parameters = "BLUR_RADIUS"
|
|
BLUR_RADIUS = 4.0
|
|
|
|
shader0 = ../blurs/shaders/kawase/linearize.slang
|
|
scale_type0 = source
|
|
scale_x0 = 1.0
|
|
scale_y0 = 1.0
|
|
float_framebuffer0 = true
|
|
alias0 = "Input"
|
|
|
|
shader1 = shaders/blur_fill/render_sampling_areas.slang
|
|
scale_type1 = viewport
|
|
scale_x1 = 0.1
|
|
scale_y1 = 0.1
|
|
float_framebuffer1 = true
|
|
alias1 = "Tiled"
|
|
|
|
shader2 = ../blurs/shaders/dual_filter/downsample.slang
|
|
filter_linear2 = true
|
|
scale_type2 = source
|
|
scale_x2 = 0.5
|
|
scale_y2 = 0.5
|
|
float_framebuffer2 = true
|
|
wrap_mode2 = mirrored_repeat
|
|
|
|
shader3 = ../blurs/shaders/dual_filter/downsample.slang
|
|
filter_linear3 = true
|
|
scale_type3 = source
|
|
scale_x3 = 0.5
|
|
scale_y3 = 0.5
|
|
float_framebuffer3 = true
|
|
wrap_mode3 = mirrored_repeat
|
|
|
|
shader4 = ../blurs/shaders/dual_filter/downsample.slang
|
|
filter_linear4 = true
|
|
scale_type4 = source
|
|
scale_x4 = 0.5
|
|
scale_y4 = 0.5
|
|
float_framebuffer4 = true
|
|
wrap_mode4 = mirrored_repeat
|
|
|
|
shader5 = ../blurs/shaders/dual_filter/upsample.slang
|
|
filter_linear5 = true
|
|
scale_type5 = source
|
|
scale_x5 = 2.0
|
|
scale_y5 = 2.0
|
|
float_framebuffer5 = true
|
|
wrap_mode5 = mirrored_repeat
|
|
|
|
shader6 = ../blurs/shaders/dual_filter/upsample.slang
|
|
filter_linear6 = true
|
|
scale_type6 = source
|
|
scale_x6 = 2.0
|
|
scale_y6 = 2.0
|
|
float_framebuffer6 = true
|
|
wrap_mode6 = mirrored_repeat
|
|
|
|
shader7 = ../blurs/shaders/dual_filter/upsample.slang
|
|
filter_linear7 = true
|
|
scale_type7 = source
|
|
scale_x7 = 2.0
|
|
scale_y7 = 2.0
|
|
float_framebuffer7 = true
|
|
wrap_mode7 = mirrored_repeat
|
|
alias7 = "Blurred"
|
|
|
|
shader8 = shaders/blur_fill/compose.slang
|
|
filter_linear8 = true
|
|
scale_type8 = viewport
|
|
scale_x8 = 1.0
|
|
scale_y8 = 1.0
|
|
float_framebuffer8 = true
|
|
mipmap_input8 = true
|
|
|
|
shader9 = ../blurs/shaders/kawase/delinearize.slang
|
|
filter_linear9 = true
|
|
scale_type9 = viewport
|
|
scale_x9 = 1.0
|
|
scale_y9 = 1.0
|
|
float_framebuffer9 = true
|