First post, by Franky212
Hi Dege, thanks for reading this post and also for your hard work. I ran into a problem. I'm making mods for two games that have a large open world but low draw distance. To create new maps for these games, I plan to increase the draw distance. But I can't disable LOD textures. I need to improve the quality of the textures away from the camera so that the quality of the textures is the same at any distance. And also I need to turn off the fog.
* I have tried setting HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Video\{5BC4AFCA-C164-4109-83E8-062D382B5F97}\0000\UMD\LodAdj (String). But it doesn't work with dgVoodoo, only with DirectX 9, and it can only degrade the quality of far textures, not improve (weird behaviour).
* I tried to change the Lod Bias in the Radeon Pro program, but this program can only worsen the texture quality, not improve it.
* I did not find any settings in the game at all that could improve the quality of objects away from the camera.
* In all cases, I configured dgVoodoo, and enabled the setting DisableMipmapping = true. But it did not give any effect, the quality of the textures still deteriorates when I move away from them. The textures in my game are created using CreateSurface in DirectDraw. Next, rendering takes place in DirectX 7.
I'm asking for your help, please make changes to the dgVoodoo code, and disable the following features, or add a setting to disable features.
DirectDraw and D3DIMM:
D3DRENDERSTATE_FOGENABLE - disable
D3DPRASTERCAPS_MIPMAPLODBIAS - always max quality
D3DTSS_MIPMAPLODBIAS - always max quality
DirectX 7, 8, 9, 10 and 11:
Change all other Lod Bias settings so that there is always the maximum texture quality.
I want to add that in DirectX 7 there is a DirectDrawSurface7.SetLOD(long) function, you can take it as a sample for disabling LOD.
To better understand this issue, I recorded debug information using the dgVoodoo debug layer. When creating the log, I first placed an object on a surface in the game, waited 30 seconds, and then moved away from the object to change the quality of the textures. I couldn't find any mention of LOD and mipmap in the debug info.