slang-shaders/interpolation
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
..
shaders Add uniform-nearest shader 2023-05-04 20:10:58 +02:00
aann.slangp Make a bunch of implicit scaling settings explicit (#375) 2023-03-20 10:03:42 -05:00
bandlimit-pixel.slangp Make a bunch of implicit scaling settings explicit (#375) 2023-03-20 10:03:42 -05:00
bilinear-adjustable.slangp add bilinear-adjustable (#401) 2023-04-25 07:59:48 -05:00
controlled_sharpness.slangp Make a bunch of implicit scaling settings explicit (#375) 2023-03-20 10:03:42 -05:00
grid-blend-hybrid.slangp Make a bunch of implicit scaling settings explicit (#375) 2023-03-20 10:03:42 -05:00
pixellate.slangp Make a bunch of implicit scaling settings explicit (#375) 2023-03-20 10:03:42 -05:00
quilez.slangp Make a bunch of implicit scaling settings explicit (#375) 2023-03-20 10:03:42 -05:00
sharp-bilinear-2x-prescale.slangp Make a bunch of implicit scaling settings explicit (#375) 2023-03-20 10:03:42 -05:00
sharp-bilinear-scanlines.slangp Make a bunch of implicit scaling settings explicit (#375) 2023-03-20 10:03:42 -05:00
sharp-bilinear-simple.slangp Make a bunch of implicit scaling settings explicit (#375) 2023-03-20 10:03:42 -05:00
sharp-bilinear.slangp Make a bunch of implicit scaling settings explicit (#375) 2023-03-20 10:03:42 -05:00
smootheststep.slangp Make a bunch of implicit scaling settings explicit (#375) 2023-03-20 10:03:42 -05:00
smuberstep.slangp Make a bunch of implicit scaling settings explicit (#375) 2023-03-20 10:03:42 -05:00
uniform-nearest.slangp Add uniform-nearest shader 2023-05-04 20:10:58 +02:00