rafalh / dashfaction

A community patch for the Red Faction (2001) FPS game
https://www.factionfiles.com/ff.php?action=file&id=6252
Mozilla Public License 2.0
61 stars 11 forks source link

(not an issue but something cool) D3D9 to Vulkan works, with supersampling for all GPUs (not just Nvidia)! #230

Open Deus-nsf opened 1 year ago

Deus-nsf commented 1 year ago

By using the d3d9.dll (32 bit of course) from the DXVK project, placing it in the game's folder not dash faction's folder, then you have Dash translating D3D8 to 9 and DXVK translating D3D9 to Vulkan, it works amazingly well for the little I tested, and allows for the use of sample rate shading which will use the MSAA implementation and transform it into MSAA + transparency supersampling!

Since it's not a driver hack but a Vulkan supported feature, and based on the game's MSAA implementation, it should work on all GPUs as long as they support MSAA (which they all do).

To use sample rate shading just create a file named "dxvk.conf" near the d3d9.dll and add d3d9.forceSampleRateShading = True inside it and there you go!

Tealdragon204 commented 9 months ago

Sick. This also let me get Reshade to work with Dashfaction instead of just base Red Faction