Show: Today's Messages :: Show Polls :: Message Navigator |
ipsharper shader patch [message #2630] | Sat, 14 July 2012 16:54 | |||
| ||||
I've been using nn2x + bilinear interpolation for a while, but that isn't good for PC-FX/PSX games with high resolutions, so I tried the ipsharper shader. It wasn't quite sharp enough for me, so I decided to hack it a bit. I've attached an unfinished patch that reimplements the shader by pushing the texture coordinates toward texel centers using pow() instead of multiply+clamp. The sharpness can be controlled by setting the exponent (the 'Sharp' variable) to a number > 0 (~nearest neighbor) and <= 1 (=linear). Presumably this would be presented to the user inversely, i.e. a sharpness of 0 = linear and a sharpness of 1 (or 100) = nearest neighbor. What's currently missing is the ability to change the sharpness via the configuration file. I'd be willing to work on the patch further if the developer(s) want to incorporate it.
(Size: 2.57KB, Downloaded 318 time(s)) [Updated on: Sat, 14 July 2012 17:58] | ||||
|
Previous Topic: | Mednafen 0.9.22-WIP binaries for Mac and how to compile your own |
Next Topic: | Mednafen 0.9.24-WIP binaries for Mac |