Jump to content

Shaders mod for better VR performance (experimental)


Recommended Posts

I didn't see any FPS boost at all. Still running from 20-45 and anything in between.

I did check that the new files are there and did rename terrain metacaches folders.

Run with PD 1.2 and same graphic setup as OP.

 

And what is strange is that that there is no new files in terrains metacache. I even tried to remove the old folder. And can load and fly missions. Shouldn't it generate new files in the Mods\terrains\???\misc\metacache\dcs folders?

 

Edit: well it did something. Now I can go to PD 1.5 without any loss in FPS


Edited by GVO
Link to post
Share on other sites
  • Replies 2.2k
  • 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

Using the shader mod with the above fix solved the issue with the left panel in the A-10C for me. Thanks to @Taz1004 for making the fix and to @speed-of-heat for incorporating it in the consolidated v

Any 1080ti users see a big difference with this hack? Already getting 45/90 fps but was wondering if this makes the experience even better.

 

 

Did you set MSAA to x4?

My Rig: AMD Ryzen 9 3950X | 64GB DDR4-3200 Ram | NVIDIA GeForce RTX 2080 Ti | Thrustmaster Hotas Warthog | MFG Crosswind rudder pedals | HP Reverb

Link to post
Share on other sites
hello,

I'm back on hacking DCS shaders with 3dmigoto : https://github.com/bo3b/3Dmigoto/releases

I can now increase brightness of cockpit parts and mask labels by cockpit frames. I'm still working of a better zoom, but it's harder than with il2 Bos...

Maybe it should be interesting to make your mod in 3dmigoto ?

 

It does not change DCS files, so no problem with integrity. Do you know this lib ?

 

Holy crap! First this excellent mod to increase FPS, and now lefuneste01 is working his magic on the zoom? Brilliant!

 

For those that don't play Il-2 BOS, his mod is practically mandatory if you're running VR. Has made the world of difference in spotting aircraft.

Link to post
Share on other sites
Hi, I keep getting this error when joining servers or missions with all aircraft, what can I do to fix it?

 

 

I have a butcher's fix for the shader compilation error (until properly done by the OP):

 

At line 101 of glass.hlsl (Bazar\shaders\model\functions\glass.hlsl)

replace :

mp.diffuse.rgb = Diffuse.SampleBias(gAnisotropicWrapSampler, input.DIFFUSE_UV.xy, 3);

with

#ifdef DIFFUSE_UV        
       mp.diffuse.rgb = Diffuse.SampleBias(gAnisotropicWrapSampler, input.DIFFUSE_UV.xy, 3);
#endif

I repeat this is a butcher's fix. I have tried various planes in Caucasus and all seem OK ("JUST DOGFIGHT" server).

 

I cannot but be impressed by 90fps. Again, thank you Kegetys !

 

On another note :

.... he's been improving visuals and making tools for well over 14 years ... ... So in terms of "why cannot ED do it" or other silly comments, you need to realise the man's qualifications first before starting typing. www.kegetys.fi

The man has clearly knowledge and brains. But if I understand correct, you say that ED people don't and that's why they could not do it ? !!!!

Cheers !

JUSTDOGFIGHT server - For Nickname reservation, stats, server map, instructions and other content visit our site justdogfight.com

 

:) Smile :)

Link to post
Share on other sites

I have not tried this mod yet, but if it works - ED should make the mod IC compatible or have a separate set of these "VR friendly files" used when DCS is launched with VR enabled.

 

Still hoping for an official solution, but this might be a big leap in the right direction.

Link to post
Share on other sites

Hello, simply amazing mod, i was about to leave VR since my pc was a bit to low to have good performances but now, wow. I'm like a little kid at Christmas!

Just a question for CV1 users, what MASKSIZE do you guys use?

 

Thank you for your feedback!

 

Aand Kegetys, you are a legend!

Leader of the Virtual Patrouille Suisse Since 2010. High and slow, fast and low.

sigpic

Intel i9-9900k | 32GB RAM | MSI RTX2080 8GB | Oculus Rift S | WarBRD Base | WinWing Super Libra

Link to post
Share on other sites
Wooooo gonna try it out! DCS crew - do you see it?!

 

Wysłane z mojego SM-G935F przy użyciu Tapatalka

 

After more testing......

 

Nevada ++

Persian Gulf ++

Caucusus +

Nevada - (no effect)

 

It would be great if it would be integrity check approved or a walk around.

 

Besides this. It's a fantastic mod! :thumbup::thumbup:

New system:I9-9900KS, Kingston 64 GB DDR4 3200Mhz, RTX 3080(OC 2070 Mhz), Corsair H150 Pro RGB, Samsung 970 EVO 1 Tb, Scandisk m2 500 MB, 2 x Crucial 1 Tb, T16000M HOTAS, HP Reverb Professional, Corsair 750 Watt.

 

Old system:I7-4770K(OC 4.5Ghz), Kingston 24 GB DDR3 1600 Mhz,MSI RTX 2080(OC 2070 Mhz), 2 * 500 GB SSD, 3,5 TB HDD, 55' Samsung 3d tv, Trackir 5, Logitech HD Cam, T16000M HOTAS. All DCS modules, maps and campaigns:pilotfly:

Link to post
Share on other sites

Was going to give this a try today - but I just tried one last thing and it has me flying smoothly in VR with my GTX1060 (and i5 4690k).

 

Lowered the PD to 1.0 - that was the big thing. Getting solid 45fps in busy combat (A/G) situations and 90fps the rest of the time and no stutters at all.

 

Normally I use 1.6 - been on that since I got my Rift, over 2 years ago, but this drop to 1.0 isn't so bad as far as the graphics goes, but I have dropped my other settings, too - no grass clutter etc (set fully left) and reduced tree visibility and preload radius quite a bit - but it's working very well and not having to mod is big bonus (especially for those that need to pass the IC ).

 

Tomorrow I'll try the mod as well and see how it goes.

 

PS - this was in Caucasus with the Su-25T doing cluster bomb runs at 3,000m.


Edited by Brixmis

Link to post
Share on other sites
Hello, simply amazing mod, i was about to leave VR since my pc was a bit to low to have good performances but now, wow. I'm like a little kid at Christmas!

Just a question for CV1 users, what MASKSIZE do you guys use?

 

Thank you for your feedback!

 

Aand Kegetys, you are a legend!

 

I've settled on 0.73.

Link to post
Share on other sites

It works wonders in SP, but I keep getting an error in MP with some of the files:

 

-------------------------------------------------------------------------------------------------------------------

 

Shader "bazar/shaders/model/glass_material.fx"failed to compile. Reason:

 

warning X4717: Effects deprecated for D3DCompiler_47 functions/glass.hls(82,9-43): warning X3206: implicit

 

truncation of vector type

 

functions/glass.hls(101,64-79):error X3018: invalid subscript 'DIFFUSE_UV'

 

-------------------------------------------------------------------------------------------------------------------

 

Any Thoughts?

Link to post
Share on other sites

Good to see this getting a lot of reads and uses. Hope ed see it and give it some thought

Good to see lefuneste in here with 3dmigoto ideas too as using that mod can help with ic issues on mp

 

Sent from my SM-G925I using Tapatalk

Link to post
Share on other sites

OrionAstronaut, I had the same problem, need to copy the original glass.hlsl file from your backup Shaders folder:

 

I can confirm that this works! I just copied the original glass.hlsl file back into the functions folder. Thanks for that Brixmis.

 

 

This mod is pretty amazing! Thanks Kegetys!

Link to post
Share on other sites
I've got the same issue upon startup:

 

Shader "bazar/shaders/deferred/ResolveDepth.fx" failed to compile. Reason:

warning X4717: Effects deprecated for D3DCompiler_47 D:\...\bazar\shaders\deferred\ResolveDepth.fx{89,17-33}:Unrecognized token disableAlphaBlend

 

Am running an AMD Vega 64 on the current 18.6.1 drivers version if that is any help?

 

Getting the same issue too. :ermm:

[sIGPIC][/sIGPIC]

Only civies call it a "bug"

Link to post
Share on other sites
Getting the same issue too. :ermm:

 

 

Me too!! ??

 

After I backup the original shaders directory do I merge the new shaders files or simply just copy the new shaders? I would think I would need mostly the original shader files and then have replaced the 16 or so of them with the new ones??

PC HW 9700K@5.0Ghz

Win 10 (Build 2004 ) with WMR

VR - Reverb

RTX2070 with Nvidia 451.48

DCS 2.5.6 (latest)

Link to post
Share on other sites
Me too!! ??

 

After I backup the original shaders directory do I merge the new shaders files or simply just copy the new shaders? I would think I would need mostly the original shader files and then have replaced the 16 or so of them with the new ones??

 

Thanks, Whitav8! That's what it was. Needed to copy that folder over the old one. Duh:doh:...cant belive I didn't think of that..haha!

[sIGPIC][/sIGPIC]

Only civies call it a "bug"

Link to post
Share on other sites
It works wonders in SP, but I keep getting an error in MP with some of the files:

 

-------------------------------------------------------------------------------------------------------------------

 

Shader "bazar/shaders/model/glass_material.fx"failed to compile. Reason:

 

warning X4717: Effects deprecated for D3DCompiler_47 functions/glass.hls(82,9-43): warning X3206: implicit

 

truncation of vector type

 

functions/glass.hls(101,64-79):error X3018: invalid subscript 'DIFFUSE_UV'

 

-------------------------------------------------------------------------------------------------------------------

 

Any Thoughts?

 

 

 

 

This works without loosing the glass optimized shader :

I have a butcher's fix for the shader compilation error (until properly done by the OP):

 

At line 101 of glass.hlsl (Bazar\shaders\model\functions\glass.hlsl)

replace :

mp.diffuse.rgb = Diffuse.SampleBias(gAnisotropicWrapSampler, input.DIFFUSE_UV.xy, 3);

with

#ifdef DIFFUSE_UV        
       mp.diffuse.rgb = Diffuse.SampleBias(gAnisotropicWrapSampler, input.DIFFUSE_UV.xy, 3);
#endif

JUSTDOGFIGHT server - For Nickname reservation, stats, server map, instructions and other content visit our site justdogfight.com

 

:) Smile :)

Link to post
Share on other sites

This is a game changer. I'm rocking SSAA x2 after using this mod. I'm also happy to see his name again after so many years back when OFP is in its prime. :cry::thumbup:

Intel Core i5 2500K, 12.0GB Dual-Channel DDR3, Z68X-UD3-B3, GTX 1080 (ZOTAC International), SSD 850 EVO

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...