supertuxkart / stk-code

The code base of supertuxkart
Other
4.54k stars 1.06k forks source link

Increase anisotropic filtering quality in the presets and don't offer x2 anisotropic filtering #5076

Closed Alayan-stk-2 closed 6 months ago

Alayan-stk-2 commented 6 months ago

Currently, SuperTuxKart has 3 levels of anisotropic filtering supported through presets:

Generally speaking:

Visual demonstration of x2: BLUR

The performance cost of anisotropic filtering has been really small on any hardware that has come out for many years, whereas the visual impact is massive.

I intend to:

Here is a comparison of performance for different settings on my iGPU:

Anisotropic

Alayan-stk-2 commented 6 months ago

Based on PocketMarty's tests, the VRAM impact of the anisotropic filtering setting is negligible, as I expected. It consumes some bandwidth, but that's already accounted for in FPS figures.

qwertychouskie commented 6 months ago

Can we look into using anisotropic filtering on GLES as well? Last I saw, aniso was force-disabled for GLES.

Alayan-stk-2 commented 6 months ago

Can we look into using anisotropic filtering on GLES as well? Last I saw, aniso was force-disabled for GLES.

I don't know about this, but if it's disabled, it would indeed be very worth it to get it enabled.

@deveee @Benau Was this done only for performance reasons or were there compatibility issues?

deveee commented 6 months ago

I don't remember, maybe it wasn't available in gles.

Alayan-stk-2 commented 6 months ago

As far as I can tell:

So I would think it should work.

However, the people I asked to test don't have it working on their device, but this might be because their devices don't support it.

Alayan-stk-2 commented 6 months ago

Image quality settings now work like this from lowest to highest :