slang-shaders/anti-aliasing/smaa.slangp

35 lines
828 B
Plaintext
Raw Normal View History

shaders = 4
2016-11-01 03:01:11 +11:00
shader0 = ../stock.slang
filter_linear0 = false
2016-11-01 03:01:11 +11:00
scale_type0 = source
scale0 = 1.0
alias0 = SMAA_Input
2016-11-01 03:01:11 +11:00
shader1 = shaders/smaa/smaa-pass0.slang
2016-11-01 03:01:11 +11:00
filter_linear1 = true
scale_type1 = source
scale1 = 1.0
shader2 = shaders/smaa/smaa-pass1.slang
2016-11-01 03:01:11 +11:00
filter_linear2 = true
scale_type2 = source
scale2 = 1.0
shader3 = shaders/smaa/smaa-pass2.slang
filter_linear3 = true
scale_type3 = source
scale3 = 1.0
2016-11-01 03:01:11 +11:00
textures = "areaTex;searchTex"
areaTex = shaders/smaa/AreaTex.png
searchTex = shaders/smaa/SearchTex.png
parameters = "SMAA_EDT;SMAA_THRESHOLD;SMAA_MAX_SEARCH_STEPS;SMAA_MAX_SEARCH_STEPS_DIAG;SMAA_LOCAL_CONTRAST_ADAPTATION_FACTOR;SMAA_CORNER_ROUNDING"
SMAA_EDT = 1.0
SMAA_THRESHOLD = 0.05
SMAA_MAX_SEARCH_STEPS = 32
SMAA_MAX_SEARCH_STEPS_DIAG = 16
SMAA_LOCAL_CONTRAST_ADAPTATION_FACTOR = 2.0
SMAA_CORNER_ROUNDING = 25.0