Jump to content

Shaders mod for better VR performance (experimental)


Recommended Posts

  • Replies 2.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

I was slightly frustrated with poor performance when playing in VR with the new deferred rendering engine, so I had a look what would be possible to remove/simplify from the shaders to improve the fra

For anyone interested, I've just tested DCS VR Shaders mod for 2.5.6.50321 (Clear Water, IC Pass) on the latest, Dec 17th 2.5.6.59398 Open Beta. Works perfectly on Caucasus and Syria !   Whi

all you have to do is update your sim when a new patch drops. The mod will get placed in a backup folder in the main directory (if you are like me and just drag/drop the shader mod into the main direc

I think he's referring to this quote in post #1:

* This optimization does not work with planes which do not use the glass shader for the canopy glass. For example the A10C and Hawk.

So then the answer is no it will not work, correct?

Link to post
Share on other sites
So then the answer is no it will not work, correct?

 

No it works. That is just referring to the 1 improvement (marked with the "*") in that list of things, that this mod does, that doesn't work. The rest of the improvements work.

Link to post
Share on other sites

I read someone stating having it set to 750f

F-15C Eagle | A-10A Warthog | A-10C Warthog | AV-8B Night Attack V/STOL | F-14 Tomcat | Persian Gulf

My hardware :

Gigabyte Aorus I Z390 Pro Wifi | Intel i7-9700K@5,1Ghz | eVGA RTX2080Ti SC | Corsair 32GB RAM DDR4@3200Mhz | NZXT Kraken X52 | NZXT H200 | LG 34UB88-B | 2x Samsung Evo 970 500GB Nvme | TM Warthog | CH Pro pedals | Pimax 5K+

 

Link to post
Share on other sites
  • 3 weeks later...

I just wanted to thank you again for creating this mod, and for continuing to keep it updated. I am still getting a 25% - 30% fps improvement on my system.

System spec: Intel i7 8700K (3.7 / 4.7 GHz), Asus Prime Z370-A, Zotac GTX 1080 Ti 11GB GDDR5x Blower (1480 / 1582 MHz), 16GB Corsair Vengeance LPX Black (2x8GB) DDR4 PC4-25600 3200 MHz, Samsung 960 EVO 250 GB NVME M.2 SSD (system drive), Samsung 970 EVO 1 TB NVME M.2 SSD (games drive), AOC U3477PQU Monitor, Oculus Rift S, Saitek X52 Pro

Link to post
Share on other sites
  • 2 weeks later...

Can anyone confirm that this mod does not work with the A-10C? Recently I've been flying the Hog a lot in VR and that's been the one thing keeping me from trying out this mod.

YouTube Channel: "Clutch"

 

Z390 Aorus Elite | i5-9600k @4.7Ghz | RTX2070 | 32GB DDR4 | Windows 10 | Odyssey Plus | Warthog HOTAS | 20cm Extension

Link to post
Share on other sites
Can anyone confirm that this mod does not work with the A-10C? Recently I've been flying the Hog a lot in VR and that's been the one thing keeping me from trying out this mod.

 

See posts 773-780 here.

Intel i9 10900K 5.2GHz · MSI Gaming X Trio RTX 3090 · ASUS ROG STRIX Z590-F Wi-Fi · Acer 4K 32" XB321HK · Samsung 970 500Gb M.2 NVMe · 2 x Samsung 850 Evo 1Tb · 2Tb HDD · 32Gb Corsair Vengance 3000MHz DDR4 · Windows 10 · Thrustmaster TPR Pedals · TrackIR5 · Thrustmaster F/A-18 Hornet Grip · Virpil WarBRD Base · Virpil Throttle MT-50 CM3 · Virpil Alpha Grip · HP Reverb G2

Link to post
Share on other sites
Ah, I see, it's not that it doesn't work with the A-10C, it's just that the A-10C doesn't benefit from that particular tweak.

 

Correct.

Intel i9 10900K 5.2GHz · MSI Gaming X Trio RTX 3090 · ASUS ROG STRIX Z590-F Wi-Fi · Acer 4K 32" XB321HK · Samsung 970 500Gb M.2 NVMe · 2 x Samsung 850 Evo 1Tb · 2Tb HDD · 32Gb Corsair Vengance 3000MHz DDR4 · Windows 10 · Thrustmaster TPR Pedals · TrackIR5 · Thrustmaster F/A-18 Hornet Grip · Virpil WarBRD Base · Virpil Throttle MT-50 CM3 · Virpil Alpha Grip · HP Reverb G2

Link to post
Share on other sites
I noticed it's for an older Open Beta version though...is anyone running this on 2.5.4.30386?

 

Works for me. Any issues I've ever had were caused by my not following the installation instructions carefully enough. I now use a batch file for this, since I reapply every time there's an update to DCSW. This works without issue for me every time.

 

xcopy Bazar "D:\DCS World OpenBeta\Bazar"\ /E /Y

del "D:\DCS World OpenBeta\Mods\terrains\Caucasus\misc\metacache\dcs\*.*" /Q

del "D:\DCS World OpenBeta\Mods\terrains\Nevada\misc\metacache\dcs\*.*" /Q

del "D:\DCS World OpenBeta\Mods\terrains\Normandy\misc\metacache\dcs\*.*" /Q

 

del "D:\Users\<user_name>\Saved Games\DCS.openbeta\fxo\*.*" /Q

del "D:\Users\<user_name>\Saved Games\DCS.openbeta\metashaders\*.*" /Q

del "D:\Users\<user_name>\Saved Games\DCS.openbeta\metashaders2\*.*" /Q

 

D:\DCS World OpenBeta\ is my DCS installation folder. Bazar is the mod folder source. D:\Users\<user_name>\ will most likely be different for you.

 

When the shaders are deleted, it can easily take up to 5 minutes for the game to load into a mission. Even though it looks as it the game has crashed, this is normal, just wait and the mission will eventually load. This only happens once (per terrain?).

 

Files are deleted / overwritten, so I always keep a backup just in case.


Edited by Hippo

System spec: Intel i7 8700K (3.7 / 4.7 GHz), Asus Prime Z370-A, Zotac GTX 1080 Ti 11GB GDDR5x Blower (1480 / 1582 MHz), 16GB Corsair Vengeance LPX Black (2x8GB) DDR4 PC4-25600 3200 MHz, Samsung 960 EVO 250 GB NVME M.2 SSD (system drive), Samsung 970 EVO 1 TB NVME M.2 SSD (games drive), AOC U3477PQU Monitor, Oculus Rift S, Saitek X52 Pro

Link to post
Share on other sites
Ah, I see, it's not that it doesn't work with the A-10C, it's just that the A-10C doesn't benefit from that particular tweak.

 

 

But that may change when the BS2 and A10C get it's updated textures from ED.

hsb

HW Spec in Spoiler

---

 

i7-10700K Direct-To-Die/OC'ed to 5.1GHz, MSI Z490 MB, 32GB DDR4 3200MHz, EVGA 2080 Ti FTW3, NVMe+SSD, Win 10 x64 Pro, MFG, Warthog, TM MFDs, Komodo Huey set, Rverbe G1

 

Link to post
Share on other sites

Well, after 45 minutes of waiting for the shaders to load, I found that they do not play nicely with fog/dust. I have a mission with dust visibility set to 9000ft, which looks perfect without the shaders mod, but with the shaders mod the dust obscures everything, even the inside of the cockpit.

YouTube Channel: "Clutch"

 

Z390 Aorus Elite | i5-9600k @4.7Ghz | RTX2070 | 32GB DDR4 | Windows 10 | Odyssey Plus | Warthog HOTAS | 20cm Extension

Link to post
Share on other sites
Well, after 45 minutes of waiting for the shaders to load, I found that they do not play nicely with fog/dust. I have a mission with dust visibility set to 9000ft, which looks perfect without the shaders mod, but with the shaders mod the dust obscures everything, even the inside of the cockpit.

 

Yes, the fact is that this mod is a compromise. I personally don't use it as there are too many visual artefacts and degradations for very little benefit to me. Still, it's good that we have it, as a lot of other people get a benefit from it.

Intel i9 10900K 5.2GHz · MSI Gaming X Trio RTX 3090 · ASUS ROG STRIX Z590-F Wi-Fi · Acer 4K 32" XB321HK · Samsung 970 500Gb M.2 NVMe · 2 x Samsung 850 Evo 1Tb · 2Tb HDD · 32Gb Corsair Vengance 3000MHz DDR4 · Windows 10 · Thrustmaster TPR Pedals · TrackIR5 · Thrustmaster F/A-18 Hornet Grip · Virpil WarBRD Base · Virpil Throttle MT-50 CM3 · Virpil Alpha Grip · HP Reverb G2

Link to post
Share on other sites
after 45 minutes of waiting (..)dust obscures everything

 

Dust (yikes!) - I had NEVER tried this setting before, so wasn't aware of this problem. I do get some glitches, but am prepared to live with them for the 25%+ fps improvement I get.

 

45 minutes ?! I've never been anywhere close to that. In your shoes, I'd be concerned that something is not correctly configured on my system...

 

imacken's post is spot on. My top two priorities for VR are MSAAx4 AND >= 90fps. The mod enables this for me (simple missions with most eye-candy off). I suspect that it is the AA part of the mod that is doing most of the heavy lifting for me, it's unfortunate that you can't just pick and choose the bits you want (or can you?).

Screen_190525_120842.thumb.png.2c5286d3f6c364ff5ffff57e3cfa5d18.png

System spec: Intel i7 8700K (3.7 / 4.7 GHz), Asus Prime Z370-A, Zotac GTX 1080 Ti 11GB GDDR5x Blower (1480 / 1582 MHz), 16GB Corsair Vengeance LPX Black (2x8GB) DDR4 PC4-25600 3200 MHz, Samsung 960 EVO 250 GB NVME M.2 SSD (system drive), Samsung 970 EVO 1 TB NVME M.2 SSD (games drive), AOC U3477PQU Monitor, Oculus Rift S, Saitek X52 Pro

Link to post
Share on other sites

I can live without MSAA, but it's the shadows and weather (like fog, dust) that I can't live without. Apparently, by some twisted logic, DCS shadows are CPU bound and not GPU bound, so unless I overclock or upgrade to an i7 I'm pretty much stuck.

YouTube Channel: "Clutch"

 

Z390 Aorus Elite | i5-9600k @4.7Ghz | RTX2070 | 32GB DDR4 | Windows 10 | Odyssey Plus | Warthog HOTAS | 20cm Extension

Link to post
Share on other sites
  • 2 weeks later...

2.5.5 does not like this mod unfortunately :(

shadererror.png.0028eb9a574e54a12944f8337beebb19.png

Intel i7 10700K @ 4.5 GHz / ASUS ROG STRIX Z490-F Gaming / 32 Gb G.Skill DDR4 / Inno3d RTX 3090 / 512 Gb Samsung 850 EVO System SSD / 512 Gb Samsung 850 EVO DCS SSD / Win 10 x64 Pro / WINWING F/A-18 HOTAS

 

A-10C, AV-8B, F-5E, F-86F, FC3, FW190D-9, Hawk, Ka50 2, P-51D, Spitfire, UH-1H, F/A-18C, F-14, F-16, Supercarrier, Christen Eagle 2

 

Nevada, Normandy, Persian Gulf, The Channel

Link to post
Share on other sites
Just don't copy the model folder.

 

 

Didn't work for me.

 

I was able to get it going by adding the following lines at the top of two files:

 

.../Bazar/shaders/model/functions/glass.hlsl

#include "functions/aorms.hlsl"

 

.../Bazar/shaders/model/functions/ambient_occlusion.hlsl

#include "functions/structs.hlsl"

 

edit: Spoke to soon. Worked for the Huey, but didn't work for some other modules like the MiG-15.


Edited by JoeyJoJoJunior

i7 6700k @ 4.6, Gigabyte Z170X-UD3, 32GB DDR4 2666, GTX 1070, Rift S | MS Sidewinder FFB2 w/ TM F-22 Pro Grip, TM TWCS Throttle, VKB T-Rudder Mk. IV

Link to post
Share on other sites

I got it working by doing the following two steps after installing the VR mod - I've only tested for the F-14 and the F-18

 

Revert file to original

Bazar\shaders\model\functions\glass.hlsl

 

Edit includes at the top

Bazar\shaders\model\mirror_material.fx

#include "common/textures.hlsl"
#include "common/uniforms.hlsl"
#include "functions/vertex_shader.hlsl"
#include "functions/matParams.hlsl"
#include "functions/impostor.hlsl"
#include "common/shader_macroses.hlsl"
#include "common/states.hlsl"
#include "common/states11.hlsl"
#include "functions/structs.hlsl"
#include "functions/vt_utils.hlsl"

 

That being said, the 2.5.5 update actually increased the performance on my system, the stuttering I usually experience was totally gone. Looking forward to the huge VR optimization in the next OB :thumbup:

 

Modda

i9-9900KS @5.2GHz | Aorus Z390 Master | MSI RTX 3090 Gaming X Trio | 32GB DDR4 3200MHz | HP Reverb G2 | TM Warthog | Logitech G Pro

Link to post
Share on other sites
  • Recently Browsing   1 member

×
×
  • Create New...