Skip to content

Instantly share code, notes, and snippets.

@Milor123
Forked from hooke007/ScaleModels.json
Last active July 23, 2022 19:04
Show Gist options
  • Save Milor123/650524c8562a5e04373ff1d1c392f620 to your computer and use it in GitHub Desktop.
Save Milor123/650524c8562a5e04373ff1d1c392f620 to your computer and use it in GitHub Desktop.
[Magpie profile] https://github.com/Blinue/Magpie 示例缩放配置
[
// English IA Translate
// Applicable version Magpie dev v0.9
// For the specific meaning of the sub-option values, please read https://github.com/Blinue/Magpie/wiki/Custom scaling configuration
// Example of calling a single-item shader
{"name":"ACNet","effects":[
{"effect":"ACNet"},
]},
{"name":"Adaptive sharpening","effects":[
{"effect":"AdaptiveSharpen","curveHeight":0.8},
]},
// [1e-5,+∞] default 0.8
{"name":"A4K-3D-mini","effects":[
{"effect":"Anime4K_3D_Upscale_US"},
]},
{"name":"A4K-3D-mini-antialiased","effects":[
{"effect":"Anime4K_3D_AA_Upscale_US"},
]},
{"name":"A4K-Noise-Average","effects":[
{"effect":"Anime4K_Denoise_Bilateral_Mean","intensitySigma":0.1},
]},
// [1e-5,+∞] default 0.1
{"name":"A4K-Noise-Noise-Median","effects":[
{"effect":"Anime4K_Denoise_Bilateral_Median","intensitySigma":0.1},
]},
// same as above
{"name":"A4K-Noise-Noise-Mode","effects":[
{"effect":"Anime4K_Denoise_Bilateral_Mode","intensitySigma":0.1},
]},
// same as above
{"name":"A4K-Line Reconstruction-Medium","effects":[
{"effect":"Anime4K_Restore_M"},
]},
{"name":"A4K-Line Reconstruction-Medium-Antialiasing","effects":[
{"effect":"Anime4K_Restore_Soft_M"},
]},
{"name":"A4K-Line Reconstruction-Large","effects":[
{"effect":"Anime4K_Restore_L"},
]},
{"name":"A4K-Line Reconstruction-Large-Antialiased Version","effects":[
{"effect":"Anime4K_Restore_Soft_L"},
]},
{"name":"A4K-Line Reconstruction-Oversized","effects":[
{"effect":"Anime4K_Restore_VL"},
]},
{"name":"A4K-Line Refinement","effects":[
{"effect":"Anime4K_Thin_HQ","strength":0.6,"iterations":1},
]},
// [1e-5,+∞] default 0.6 | [1,+∞] rounded default 1
{"name":"A4K-Zoom-Small","effects":[
{"effect":"Anime4K_Upscale_S"},
]},
{"name":"A4K-Zoom-Small-Noise Reduction","effects":[
{"effect":"Anime4K_Upscale_Denoise_S"},
]},
{"name":"A4K-Zoom-Large","effects":[
{"effect":"Anime4K_Upscale_L"},
]},
{"name":"A4K-Zoom-Large-Noise Reduction","effects":[
{"effect":"Anime4K_Upscale_Denoise_L"},
]},
{"name":"A4K-Zoom (GAN)-Small","effects":[
{"effect":"Anime4K_Upscale_GAN_x2_S"},
]},
{"name":"bicubic","effects":[
{"Effect":"Bikkubicku","Scale":[-1,-1],"Parambu":0.333333,"Pharmacy":0.333333},
]},
// [0,1] default 0.333333 | [0,1] default 0.333333
{"name":"bilinear","effects":[
{"effect":"Bilinear","scale":[-1,-1]},
]},
{"name":"Contrast Adaptive Sharpening","effects":[
{"effect":"CAS","sharpness":0.4},
]},
// [0,1] default 0.4
{"name":"Contrast Adaptive Sharpening-Scaled Version","effects":[
{"effect":"CAS_Scaling","scale":[-1,-1],"sharpness":0.4},
]},
// same as above
{"name":"CatmullRom","effects":[
{"effect":"CatmullRom","scale":[-1,-1]},
]},
{"name":"FineSharp","effects":[
{"effect":"FineSharp","sstr":2.0,"cstr":0.9,"xstr":0.19,"xrep":0.25},
]},
// [0,+∞] default 2.0 | [0,+∞] default 0.9 | [0,1] default 0.19 | [0,+∞] default 0.25
{"name":"FSR-Zoom only","effects":[
{"effect":"FSR_EASU","scale":[-1,-1]},
]},
{"name":"FSR-sharpening only","effects":[
{"effect":"FSR_RCAS","sharpness":0.87},
]},
// [1e-5,+∞] default 0.87
{"name":"FSRCNNX","effects":[
{"effect":"FSRCNNX"},
]},
{"name":"FSRCNNX animation version","effects":[
{"effect":"FSRCNNX_LineArt"},
]},
{"name":"FXAA Antialiasing-Medium","effects":[
{"effect":"FXAA_Medium"},
]},
{"name":"FXAA antialiasing-high","effects":[
{"effect":"FXAA_High"},
]},
{"name":"FXAA Antialiasing-Super","effects":[
{"effect":"FXAA_Ultra"},
]},
{"name":"Jinc","effects":[
{"effect":"Jinc","scale":[-1,-1],"windowSinc":0.5,"sinc":0.825,"ARStrength":0.5},
]},
// [1e-5,+∞] default 0.5 | [1e-5,+∞] default 0.825 | [0,1] default 0.5
{"name":"Lanczos","effects":[
{"effect":"Lanczos","scale":[-1,-1],"ARStrength":0.5},
]},
// [0,1] default 0.5
{"name":"LCAS","effects":[
{"effect":"LCAS","scale":[-1,-1],"sharpness":0.5},
]},
// [0,1] default 0.5
{"name":"LumaSharpen","effects":[
{"effect":"LumaSharpen","sharpStrength":0.65,"sharpClamp":0.035,"pattern":1,"offsetBias":1},
]},
// [1e-5,+∞] default 0.65 | [0,1] default 0.035 | [0,3] rounded default 1 | [0,+∞] default 1
{"name":"MMPX","effects":[
{"effect":"MMPX"},
]},
{"name":"Nearest neighbor","effects":[
{"effect":"Nearest","scale":[-1,-1]},
]},
// It is only suitable for integer magnification of low magnification, it is recommended to use [2,2] or [3,3] for zooming
{"name":"NIS","effects":[
{"effect":"NIS","scale":[-1,-1],"sharpness":0.5},
]},
// [0,1] default 0.5
{"name":"NVSharpen","effects":[
{"effect":"NVSharpen","sharpness":0.5},
]},
// same as above
{"name":"NNEDI3_16_8x4","effects":[
{"effect":"NNEDI3_nns16_win8x4"},
]},
{"name":"NNEDI3_64_8x6","effects":[
{"effect":"NNEDI3_nns64_win8x6"},
]},
{"name":"Pixellate","effects":[
{"effect":"Pixellate","scale":[-1,-1]},
]},
{"name":"RAVU-small-three","effects":[
{"effect":"RAVU_Lite_R3"},
]},
{"name":"RAVU-Anytime-Three","effects":[
{"effect":"rao_zoom_r3","scale":[-1,-1]},
]},
{"name":"SharpBilinear","effects":[
{"effect":"SharpBilinear","scale":[-1,-1]},
]},
{"name":"SMAA antialiasing-low","effects":[
{"effect":"small_lou"},
]},
{"name":"SMAA Antialiasing-Medium","effects":[
{"effect":"SMAA_Medium"},
]},
{"name":"SMAA Antialiasing-High","effects":[
{"effect":"small_high"},
]},
{"name":"SMAA Antialiasing-Super","effects":[
{"effect":"small_ultra"},
]},
{"name":"SSim minification","effects":[
{"effect":"SSimDownscaler","scale":[-1,-1],"oversharp":1},
]},
// [1,+∞] default 1
{"name":"xBRZ-double","effects":[
{"effect":"xBRZ_2x"},
]},
{"name":"xBRZ-triple","effects":[
{"effect":"xBRZ_3x"},
]},
{"name":"xBRZ-quadruple","effects":[
{"effect":"xBRZ_4x"},
]},
{"name":"xBRZ-five times","effects":[
{"effect":"xBRZ_5x"},
]},
{"name":"xBRZ-six times","effects":[
{"effect":"xBRZ_6x"},
]},
{"name":"xBRZ-anytime","effects":[
{"effect":"xBRZ_Freescale","scale":[-1,-1]},
]},
// CRT simulation series, special usage scenarios
{"name":"CRT_Easymode","effects":[
{"effect":"CRT_Easymode","scale":[-1,-1],
"sharpnessH":0.5,"sharpnessV":1,
"maskStrength":0.3,"maskDotWidth":1,"maskDotHeight":1,"maskStagger":0,"maskSize":1,
"scanlineStrength":1,"scanlineBeamWidthMin":1.5,"scanlineBeamWidthMax":1.5,"scanlineBrightMin":0.35,"scanlineBrightMax":0.65,"scanlineCutoff":400,
"gammaInput":2,"gammaOutput":1.8,"brightBoost":1.2,"dilation":1},
]},
// [0,1] default 0.5 | [0,1] default 1
// [0,1] default 0.3 | [1,100] rounded default 1 | [1,100] rounded default 1 | [0,100] rounded default 0 | [1,100] rounded default 1
// [0,1] default 1 | [0.5,5] default 1.5 | [0.5,5] default 1.5 | [0,1] default 0.35 | [0,1] default 0.65 | [1,1000] rounded default 400
// [0.1,5] default 2 | [0.1,5] default 1.8 | [1,2] default 1.2 | [0,1] rounded default 1
{"name":"CRT_Geom","effects":[
{"effect":"CRT_Geom","scale":[-1,-1],
"CRTGamma":2.4,"monitorGamma":2.2,"distance":1.5,"curvature":1,"radius":2,"monitorGamma":2.2,
"cornerSize":0.03,"cornerSmooth":1000,"xTilt":0,"yTilt":0,"overScanX":100,"overScanY":100,
"dotMask":0.3,"sharper":1,"scanlineWeight":0.3,"lum":0,"interlace":1},
]},
// [0.1,5] default 2.4 | [0.1,5] default 2.2 | [0.1,3] default 1.5 | [0,1] rounded default 1 | [0.1,10] default 2
// [0.001,1] default 0.03 | [80,2000] rounded default 1000 | [-0.5,0.5] default 0 | [-0.5,0.5] default 0 | [-125,125] rounded default 100 | [-125,125 ] rounded default 100
// [0,0.3] default 0.3 | [1,3] rounded default 1 | [0.1,0.5] default 0.3 | [0,1] default 0 | [0,1] rounded default 1
{"name":"CRT_Hyllian","effects":[
{"effect":"CRT_Hyllian","scale":[2,2],
"phosphor":1,"vScanlines":0,"inputGamma":2.5,"outputGamma":2.2,"sharpness":1,
"colorBoost":1.5,"redBoost":1,"greenBoost":1,"blueBoost":1,
"scanlinesStrength":0.5,"beamMinWidth":0.86,"beamMaxWidth":1,"crtAntiRinging":0.8},
]},
// require integer scaling
// [0,1] rounding default 1 | [0,1] rounding default 0 | [0,5] default 2.5 | [0,5] default 2.2 | [1,5] rounding default 1
// [1,2] default 1.5 | [1,2] default 1 | [1,2] default 1 | [1,2] default 1
// [0,1] default 0.5 | [0,1] default 0.86 | [0,1] default 1 | [0,1] default 0.8
{"name":"CRT_Lottes","effects":[
{"effect":"CRT_Lottes","scale":[-1,-1],
"hardScan":-8,"hardPix":-3,"warpX":0.031,"warpY":0.041,
"maskDark":0.5,"maskLight":1.5,"shadowMask":3,"brightBoost":1,
"hardBloomPix":-1.5,"hardBloomScan":-2,"bloomAmount":0.15,"shape":2},
]},
// [-20,0] rounding default -8 | [-20,0] rounding default -3 | [0,0.125] default 0.031 | [0,0.125] default 0.041
// [0,2] default 0.5 | [0,2] default 1.5 | [0,4] rounded default 3 | [0,2] default 1
// [-2,-0.5] default -1.5 | [-4,-1] default -2 | [0,1] default 0.15 | [0,10] default 2
{"name":"GTU_v050","effects":[
{"effect":"GTU_v050","scale":[-1,-1],
"compositeConnection":0,"noScanlines":0,
"signalResolution":256,"signalResolutionI":83,"signalResolutionQ":25,"tvVerticalResolution":250,
"blackLevel":0.07,"contrast":1},
]},
// [0,1] rounded default 0 | [0,1] rounded default 0
// [16,+∞] rounded default 256 | [1,+∞] rounded default 83 | [1,+∞] rounded default 25 | [20,+∞] rounded default 250
// [-0.3,0.3] default 0.07 | [0,2] default 1
// Example of combining multiple shaders
{"name":"FSR-enlarge sharpening","effects":[
{"effect":"FSR_EASU","scale":[-1,-1]},
{"effect":"FSR_RCAS","sharpness":0.87},
]},
{"name":"A4K-fullscreen","effects":[
{"effect":"Anime4K_Upscale_L"},
{"effect":"Jinc","scale":[-1,-1],"windowSinc":0.5,"sinc":0.825},
]},
// For the algorithm that can only fix the magnification, then use the algorithm that supports any magnification to make up to the target resolution
{"name":"ACNet-Secondary-Fullscreen","effects":[
{"effect":"ACNet"},
{"effect":"bikkubikku","scale":[-0.5,-0.5],"parambu":0,"pharmacy":0.5},
{"effect":"ACNet"},
]},
// If the source window is too small but the quadruple magnification wastes more performance, insert a conventional reduction algorithm in the two magnifications, so that the second double magnification is just enough for the full screen
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment