gonetz / GLideN64

A new generation, open-source graphics plugin for N64 emulators.
Other
770 stars 179 forks source link

Unfiltered textures #483

Open etking opened 9 years ago

etking commented 9 years ago

Compared to real hardware or Glide64, using default settings GlideN64 should filter the stage select images in Perfect Dark or the UI text in Banjo-Kazooie.

In Glide64 there is the option to filter textures exactly how the N64 specifies and the aforementioned textures are filtered, even when no additional filtering is set in the texture enhancements tab.

In GlideN64 however, no texture filtering seems to be applied at all, so these textures look very pixelated. These textures should be filtered correctly and there should be an option like in Glide64 to specify the kind of filtering used for textures.

V1del commented 9 years ago

Enable standard bilinear filtering instead of n64 3point

Mushman commented 9 years ago

Actually, I think they're is saying that GLideN64 is not filtering all the textures that it should filter, meaning that the textures mentioned are filtered on hardware but not in GLideN64, which is incorrect. The part about Glide64 was just saying that setting Filtering mode to Automatic provided correct behaviour and that it should be like that.

etking commented 9 years ago

Both filtering options do not filter the (BK Map and PD stage select) textures at all. But on real hardware and all other plugins they do not look pixelated and are filtered.

It may be a bug that these textures are overlooked by filtering or there should be two more options: "Do not filter" and "Filter how the N64 specifies".

gonetz commented 9 years ago

GLideN64 has only one option: "Filter how the N64 specifies". It is always on. Use Textures::Filter for force filtering.

Of course, there can be a bug in the plugin and some texture left unfiltered. I'll check UI text in Banjo-Kazooie.

wareya commented 9 years ago

Not sure if this is relevant, but I had unfiltered textures in Majora's Mask and they became filtered when I re-enabled the mipmap emulation checkbox.

Mushman commented 9 years ago

Was that with standard texture bilinear filtering or with N64 3-point? I know that 3-point sometimes won't filter textures if mipmapping is off.

wareya commented 9 years ago

3-point, yes.

Mushman commented 9 years ago

I originally documented that behaviour in #306. I'm not sure whether @gonetz thinks it should be fixed at some point or not.

etking commented 9 years ago

Standard texture bilinear filtering and N64 3-point both do not filter the textures mentioned with everything else set to default settings.

etking commented 9 years ago

You can also add F-Zero X title background and probably many other games to that list. Where real N64 hardware applies texture filtering, GlideN64 does nothing and many textures look very pixelated.

purplemarshmallow commented 9 years ago

the background in F-Zero X looks pixelated because VI DAC filters are not emulated

Papermanzero commented 7 years ago

Mario Tennis title background ist another example. There are several textures which are not filtered. Donkey Kong 64 Title screen font is also affected.

Papermanzero commented 7 years ago

Is there a way to force the filtering?

gonetz commented 7 years ago

Use Textures::Filter for force filtering.

Papermanzero commented 7 years ago

Use Textures::Filter for force filtering.

Is this also valid for mupen64plus?

gonetz commented 7 years ago

Yes. mupen64plus build has the same texture enhancement module.

Papermanzero commented 7 years ago

I tried today to force the filtering but it is only the smooth or sharp filter. The bilinear or tri point filter is missing. Rice provides the feature to filter according to N64, all textures or none with N64 tri point or bilinear filter.