libretro / common-shaders

Collection of commonly used Cg shaders. These shaders are usable by either HLSL and/or Cg runtime compilers. The cg2glsl script will translate most of these into GLSL shaders.
http://www.libretro.com
1.03k stars 250 forks source link

Interlacing shader looks wrong on Full screen games #78

Closed mckimiaklopa closed 7 years ago

mckimiaklopa commented 8 years ago

Games with top and bottom bars look fine with the interlacing shader

ff771411

Whereas games that are full screen (which accounts for most games) look wrong with the interlacing shader. The distribution of lines look wrong retroarch-0704-071539

hizzlekizzle commented 8 years ago

Yeah, that shader is very sensitive to non-integer scaling. You're better off using scanline.glsl or ntsc-gauss-pass.glsl, both of which will be more forgiving.