Jump to content

Recommended Posts

Posted (edited)

Everyone with a 3 monitor setup knows the distortion on the side monitors, all stretchy and stuff. I noticed SweetFX has some lens distortion effect so i gave it a go, not the desired effect (yet).

 

After some tweaking and testing and trying i managed to get the right effect to fix the DCS stretch distortion. This also means about 25% of the side monitors is no longer used because what was stretched is no longer stretched.

 

Saving a screenshot still looks like the normal screenshot but this is roughly sort of the effect:

 

Original:

hqNxiql.jpg

 

Adjusted:

M4Tt2FG.jpg

 

So here's what i did:

 

- Get ReShade/SweetFX 2.0 (link at the bottom) https://reshade.me/sweetfx

 

- Install running the setup, here it couldn't determine which renderer is used for DCS so select D3D 10/11.

 

- You can fire up DCS to test if SweetFX works after install, you should see a message top left saying SweetFX is compiling shaders. Scroll Lock enables/disables the effects.

 

- Next thing is edit the file SweetFX_settings.txt in DCS World\Bin\SweetFX then enable the Lens distortion like:

#define USE_LENS_DISTORTION 1 //[0 or 1] Cubic Lens Distortion : Distorts the lens cubicly. (WIP)

- LumaSharpen is right above that setting (enabled by default) and you can disable it if you don't want to use that.

 

- Next download the attached file, unrar it and replace the file in DCS World\Bin\SweetFX\Shaders with the one in the archive.

 

- Test it!

 

If you look at the LensDistortion.h file it's really simple what happens so you can try some things yourself in the LensDistortionPass function. I took out the Y calculation because that aint the problem and changed some things for the X calculation. You can edit this file while DCS is running, once you save this file the shaders are recompiled and become active seconds later so you don't need to (re)start DCS each time after editing it.

 

There's still an issue (next step required), i couldn't get the game resolution higher so it would fill the gaps on the side monitor AND keep the GUI centered on the center monitor. I won't be having much time the next couple of days so i figured i'd share this already so people can try some things themselves.

 

Enjoy!

LensDistortion.rar

Edited by Coug4r

-

If man were meant to fly he'd be filled with helium.

  • 1 month later...
Posted

So if you don't use SweetFX and just manually set your Monitor config to use the same percentage less for your 3d screen using x= and Width= to define the edges, what difference will there be? Isn't is going to be very similar?

 

BTW If you did it that way, it would also not affect your GUI settings.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...