slang-shaders/interpolation/shaders
gizmo98 5fc0d5396b Add uniform-nearest shader
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
2023-05-04 20:10:58 +02:00
..
aann.slang rename 'retro' to 'interpolation' and move bevel and retro to handheld 2019-07-31 16:21:41 -05:00
bandlimit-pixel.slang rename 'retro' to 'interpolation' and move bevel and retro to handheld 2019-07-31 16:21:41 -05:00
bilinear-adjustable.slang Update bilinear-adjustable.slang 2023-04-27 18:07:40 +03:00
ControlledSharpness.slang rename 'retro' to 'interpolation' and move bevel and retro to handheld 2019-07-31 16:21:41 -05:00
grid-blend-hybrid.slang add grid-blend-hybrid shader and preset 2020-02-24 16:35:12 -06:00
pixellate.slang rename 'retro' to 'interpolation' and move bevel and retro to handheld 2019-07-31 16:21:41 -05:00
quilez.slang rename 'retro' to 'interpolation' and move bevel and retro to handheld 2019-07-31 16:21:41 -05:00
sharp-bilinear-scanlines.slang rename 'retro' to 'interpolation' and move bevel and retro to handheld 2019-07-31 16:21:41 -05:00
sharp-bilinear-simple.slang rename 'retro' to 'interpolation' and move bevel and retro to handheld 2019-07-31 16:21:41 -05:00
sharp-bilinear.slang rename 'retro' to 'interpolation' and move bevel and retro to handheld 2019-07-31 16:21:41 -05:00
smootheststep.slang rename 'retro' to 'interpolation' and move bevel and retro to handheld 2019-07-31 16:21:41 -05:00
SmuberStep.slang rename 'retro' to 'interpolation' and move bevel and retro to handheld 2019-07-31 16:21:41 -05:00
uniform-nearest.slang Add uniform-nearest shader 2023-05-04 20:10:58 +02:00