PDA

View Full Version : Feature request: XBR Texture Filter for Glide


et500
27th April 2013, 07:05 PM
Please implement Hylian's XBR (a b c or Z version) Filter into Glide GPU plugin for 2D Elements.

http://filthypants.blogspot.de/2012/03/xbr-vs-hqx-interpolation-filter.html

Games like Ogre Battle 64 would greatly benefit from this since XBR provides a much sharper image compared to the outdated 2xSai filters or even HQX.

mudlord_
28th April 2013, 01:15 AM
Is there a C implementation somewhere.

et500
28th April 2013, 12:52 PM
Not sure if this is what you are looking for:

https://github.com/libretro/common-shaders/tree/master/xBR

http://forum.themaister.net/viewtopic.php?id=134

It is also implemented into HQmame and NestopiaGit and I also saw an experimental implementation into Petes PSX soft GPU plugin yesterday.

But most implementations use it as a fullscreen filter which works for 2D Games only, I have never seen it being implemented as a texture filter so far. 3.8 seems to be the best version, 3.7 had some performance issues with snes9x.

squall_leonhart
28th April 2013, 02:46 PM
BR is only applicable to sprite and 2d textures

et500
28th April 2013, 06:33 PM
This is true but replacing the current 2xsai texture filter in Jabo or the HQ2X filter in Glide would improve the output quality of these a lot.

So it should be possible to implement it as a fullscreen filter and as a texture filter as well with different results depending on the game.

Menus in PSX FF9 look truly amazing for example when this filter is applied as a fullscreen filter. Maybe it is somehow possible to use it for 2D elements only.

the_randomizer
28th April 2013, 08:06 PM
I just want the text in Ogre Battle 64 to look filtered, but not illegible when filters are applied. As it is, Glide 64 filters backgrounds just fine, but when it comes to the HUD or in-game text, it's atrocious due to how it scales the N64's native resolution. The plugin's bilinear filter effs up text in most RPGs like no tomorrow, again, due to how it's scaled.

Something like 2xSAl texture would be nice to have in Glide, but who knows.