Daft Mugi on 8/10/2022 at 22:43
Unfortunately, Thief cannot have both "tex_filter_mode 0" for chunky pixels and anisotropic filtering. However, there's a way.
The "cam_ext.cfg" file has a setting for texture filtering. But the modes don't allow for "no filtering" (chunky pixels) with anisotropic filtering, only "linear filtering" (blurry/smooth pixels) with anisotropic filtering.
Given "tex_filter_mode 0" in cam_ext.cfg:
Code:
; set texture filtering mode: 0 no filtering, 1 linear, 2,4,8,16 anisotropic (number is sample size)
tex_filter_mode 0
Anisotropic filtering can be enabled outside of Thief.
In Linux/Wine, one way is to use the environment variable "AMD_TEX_ANISO", which can be set to 0, 2, 4, 8, or 16.
For example:
Code:
AMD_TEX_ANISO=16 wine THIEF.EXE
I assume this can be done in Windows as well, but I don't have a machine to test that.
Other ways include:
* Nvidia Control Panel
* AMD Radeon Software
* AMD Catalyst Control Panel
* Linux AMD OpenGL "AMD_TEX_ANISO" environment variable
* Linux Vulkan "RADV_TEX_ANISO" environment variable
For more info, see (
https://www.pcgamingwiki.com/wiki/Glossary:Anisotropic_filtering_(AF)) https://www.pcgamingwiki.com/wiki/Glossary:Anisotropic_filtering_(AF)
jermi on 15/10/2022 at 11:29
The likely reason is that in D3D9, D3DTEXF_ANISOTROPIC is a D3DTEXTUREFILTERTYPE, while for example in Vulkan, it's a separate VkSamplerCreateInfo::anisotropyEnable parameter. So you have to find some way to externally force anisotropic filtering with D3DTEXF_POINT. AMD_TEX_ANISO seems to do exactly that. Looks like it comes in as max_ansio (sic) here: (
https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/amd/vulkan/radv_device.c#L6856) https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/amd/vulkan/radv_device.c#L6856. Which results in filter type V_008F38_SQ_TEX_XY_FILTER_ANISO_POINT.