Lior Halphon
a068b7b09f
Fixed Metal warnings, made everything static for performance
2018-06-15 19:18:30 +03:00
Lior Halphon
da7c32cb10
No more globals in shaders
2018-06-15 18:22:09 +03:00
Lior Halphon
c6dba26d02
Simplify shaders
2018-06-15 18:08:54 +03:00
LMLB
c365c450a7
Fix shaders that break with specific pixel factors
...
OmniScaleLegacy seems to has problems with every odd factor (3x, 5x, 7x,
9x, etc.).
SmoothBilinear has problems with 5x and 11x and probably more.
2018-03-14 20:06:37 +01:00
LMLB
0c80ac3296
Fix shaders that sample at texel edges
...
Sampling at the edge between texels causes one or the other to be chosen
semi-randomly, depending on rounding errors. Add half a pixel so they
sample at texel centers instead.
2018-03-14 20:05:51 +01:00
Lior Halphon
07c5e8fcb1
Fixed smooth bilinear filter
2016-06-18 02:05:52 +03:00
Lior Halphon
52afba21d1
Added HQ2x shader, upgrading to OpenGL 3
2016-06-14 14:11:37 +03:00
Lior Halphon
94ea44da0c
Introducing the OmniScale (beta) algorithm to SameBoy
2016-06-09 00:06:55 +03:00
Lior Halphon
8d59bfcbdd
Filter support for Cocoa port + 7 basic filters
2016-04-29 00:45:56 +03:00