This looks interesting!
Talented modder alters shaders (self-contained programs that run on graphics card) to tune DCS for a VR display performance.
Main change is only rendering a circular FOV instead of the rectangular window that is rendered in unmodded DCS. You don’t see the edges of the screen in your goggles anyways. Also some small optimizations to shadows etc to make them a lot more FPS friendly at a small visual quality cost. MSAA is only applied to the center of your FOV, as you do not notice it at the edges.
Is it really that good?
I’m sold. Oh it’s free?
It is, but it is slightly more difficult than a regular mod install because shaders are not compiled everytime you start DCS: they usually stay the same, unless you deletel them. So now we have to change the ‘recipe’ (which is what applying the mod does) and remove the previous shaders so DCS has to ‘cook’ the new ones according to the modded recipe.
Can we take this step by step?
We certainly can.
Just read and click the links.
If using OVGME, scroll to the bottom! There are 2 steps that are different for you, for the rest it is the same
- Download and install Notepad++ (necessary for adjusting the FOV for most users, and if you want to use a script to make your life easier. Just do it!)
- Download the latest version of the mod
(only if you have another headset than the Vive:) Inside the
VR Shaders mod, go to Bazar\shaders\deferred\_HMD.hlsl and adjust the MASKSIZE value.
The default is optimized for HTC Vive. Lower value = higher framerate. If set too low, you will see distortions around the edge of your FOV. For Odyssey, I find 0.575 to be sufficient, Rift users report using 0.59
3.a Before applying the mod, download the shader removal script by @fearlessfrog
3.b and extract it to some place (your desktop will do if you are lazy, join the club!)
- Use notepad++ to open the batch file you just extracted and edit the locations to the actual locations of your DCS and Saved games folders.
- Press Ctrl+S or save
- Run the script (you have to type ‘Y’ and press Enter after seeing the location in there is correct, only then does it remove shaders)
- Apply the mod by pasting it over your DCS directory such that Bazar is merged with Bazar etc. Press "merge all"or something like that.
- Start DCS, be prepared to wait 10-20 minutes, start a mission, wait a few more minutes, and you should have about twice the framerate. Happy flying!
Be aware that this mod does not play nicely with Night Vision Goggle in DCS. Disable it by following the list below wihtout step 4 and 5
What if I want to update DCS? Or if I want to change the FOV later or am having problems?
- if using OVGME, disable all your mods of course (including the VR shaders mod)
- I HIGHLY recommend you clean DCS to remove any traces of the mod* using the ‘CLEAN’ button in @SkateZilla ['s updater utility])(Skatezilla’s DCS Updater Utility GUI) (check out the video if this is your first time using it
- Update or repair DCS
- Run the vrmodprep script by @fearlessfrog
- Re-apply the mod (either paste it in DCS or enable through OVGME)
- Launch DCS and wait for the shaders to compile
*OVGME cannot track all the changes that are made through shader compilation, and thus disabling the mod in OVGME does not fully remove it, unlike other mods.
I use OVGME to manage my mods because I fly in 229th or another awesome squadron.
Good on you! In that case, still follow the above procedure. but just
change these two steps:
Step 1 becomes: Download this OVGME-ready version I made here, and put it in your Program mods folder or something (I am not teaching you OVGME here)
VR Shaders mod.zip (61.5 KB)
(If you can do this yourself and this file becomes outdated, please update this post (every user can).)
Step 6 becomes: Apply the mod using OVGME.
Make sure the zip in your mods folder contains the version of the mod with your custom MASKSIZE if you changed that.