elishacloud / dxwrapper

Fixes compatibility issues with older games running on Windows 10/11 by wrapping DirectX dlls. Also allows loading custom libraries with the file extension .asi into game processes.
zlib License
1.16k stars 83 forks source link

Forcing using anisotropic filtering in d3d9 #114

Closed sun1ight closed 3 years ago

sun1ight commented 3 years ago

This functionality has been lacking for a long time, not everyone has the opportunity to get into the driver settings and configure filtering. If you load DgVoodoo to activate anisotropic filtering with the second wrapper, then the load on the computer increases significantly.

elishacloud commented 3 years ago

Ok, try with this build. This should enable anisotropic filtering and set the sampler state to D3DTEXF_ANISOTROPIC. You will need to modify the ini file to enable the AnisotropicFiltering option.

Here is the updated build: dxwrapper.zip

sun1ight commented 3 years ago

Anisotropic filtering works fine now, thanks

mirh commented 3 years ago

Probably stupid observation: can you force trilinear filtering on top of the anisotropic one? I remember some UE3 game showed sensible improvements when you specified Triliner=TRUE and MaxAnisotropy=16.