dosbox-pure icon indicating copy to clipboard operation
dosbox-pure copied to clipboard

Texture rendering issues in most 3dfx games

Open PoloniumRain opened this issue 2 years ago • 3 comments

There's two texture issues when using 3dfx:

  1. Many games have very blurry textures. This might be due to a mipmap issue, and this problem was also mentioned by Digital Foundry at this point in their video - That is running on an Xbox Series X by the way, but i'm using Windows 10. First person shooters and racing games are affected most because textures will become blurry when viewed from an angle. Looking directly straight at a texture will sometimes make the blurriness go away (see video below). There's also some games which do not not have this issue at all, but many do.

  2. Trilinear filtering doesn't work in games which support this feature. At least with all the games i've tried so far (Quake 3 being an obvious example).

Neither of these issues occur on real hardware, or when running Windows 98 on DOSBox-X or PCem with a 3dfx Voodoo 1.

Here's a clear example of textures becoming blurry at angles:

https://user-images.githubusercontent.com/50634894/179727608-aafc39e6-3cb7-47dc-8cad-fefce5d8a6d7.mp4

So far only Windows games are affected. I haven't seen these problems in 3dfx DOS games, although i haven't tried many DOS games yet. Maybe other people can test some more?

So far i've tried:

  • Several different Windows 98 Voodoo drivers, both official and unofficial.
  • Different DirectX versions (6.1, 8.1 and 9c).
  • Different video drivers in RetroArch (GL, Vulkan, D3D11/12).

None of them make any difference.

PoloniumRain avatar Jul 20 '22 09:07 PoloniumRain

Can you clarify if you were using the software 3dfx emulation in DOSBox-X or if you had the glide or GL passthrough enabled?

I would have thought the software rendering should behave the same as in other DOSBox variants that have had the 3dfx patch applied but there's a chance I made a mistake when integrating it or someone has made improvements I'm not aware of.

schellingb avatar Jul 28 '22 18:07 schellingb

Sorry for late reply, been insanely busy! As far as i can tell i'm not using passthrough. Video > 3dfx emulation is set to 'Internal Voodoo card'.

PoloniumRain avatar Aug 09 '22 14:08 PoloniumRain