luciusDXL / TheForceEngine

Modern "Jedi Engine" replacement supporting Dark Forces, mods, and in the future Outlaws.

Home Page:https://TheForceEngine.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[🐛] Anisotropic filtering causes texture artifacts in true color

JakeSmarter opened this issue ¡ comments

Version: v1.09.540-264-g341db341+
OS: Linux
Distribution: Flathub

When “Anisotropic Filter Quality” is set to 1.0 in “True Color” mode you can see artifacts on texture edges where textures repeat. This happens when using the hardware GPU as well as Mesa 3D’s software renderer. This leads me to suspect that there is a bug in the anisotropic filter algorithm.

OpenGL
Broadcom
V3D 4.2
true color
OpenGL
Mesa
llvmpipe (LLVM 17.0.6, 128 bits)
true color
OpenGL
Mesa
llvmpipe (LLVM 17.0.6, 128 bits)
8-bit classic
OpenGL Broadcom V3D 4.2 true colorOpenGL Mesa llvmpipe (LLVM 17.0.6, 128 bits) true colorOpenGL Mesa llvmpipe (LLVM 17.0.6, 128 bits) 8-bit classic

The algorithm is fine, the issue is that the setting is too high for the padding size and needs to be adjusted. This should be fixed in the next release.

I am happy you were able to track down the issue.