mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-22 15:51:30 +11:00
5fc0d5396b
Features: - produces nearest neighbor look with fractional scales. - uses texture AA shader code. - uses hotizontal subpixel scaling. - due to different pixel sizes, moving sprites change dimension if nearest neighbor is used with fractional scaling. This looks unsteady. This shader uniforms pixel dimensions. Output looks much quieter. https://forums.libretro.com/t/uniform-nearest-interpolation-shader/41492
9 lines
160 B
Plaintext
9 lines
160 B
Plaintext
shaders = "1"
|
|
shader0 = "shaders/uniform-nearest.slang"
|
|
filter_linear0 = "true"
|
|
scale_type0 = viewport
|
|
|
|
parameters = "BGR_LCD_PATTERN"
|
|
BGR_LCD_PATTERN = "0.0"
|
|
|