Jump to content

Solution to Low resolution shadows


Juksen

Recommended Posts

Hi,

 

 

If you want to improve the resolution of in-cockpit shadows, edit the file

:\DCS World\Config\Effects\Shadows.lua

 

 

shadows =
{

   Nevada = {

       {   --flat only
1,
           {0, 0, 0, 0, 0, 7000},  
           {0, 0, 0, 0, 0, 7000}   
       },
       {   --low
16384,                              -- size of shadowmap
           {0, 0, 0.02, 20.0, 70.0, 7000},     -- split distances outside
           {0, 0, 0.02, 2.0,  20.0, 7000}      -- split distances in cockpit
       },
       {   --medium
16384,
           {0, 0.02, 20.0, 70.0, 250.0, 7000}, 
           {0, 0.02, 2.0,  20.0, 130.0, 7000}  
       },
       {   --high
16384,
           {0.02, 25.0, 100.0, 400.0, 1500.0, 7000},   
           {0.02, 2.5,  25.0,  250.0, 1500.0, 7000}
       },
       {   --ultra
16384,
           {0.02, 25.0, 100.0, 500.0, 2000.0, 7000},   
           {0.02, 2.5,  25.0,  300.0, 2000.0, 7000}
       },

   },

   default = {

       {   --flat only
1,
           {0, 0, 0, 0, 0, 7000},  
           {0, 0, 0, 0, 0, 7000}   
       },
       {   --low
16384,                                      -- size of shadowmap
           {0.02, 20.0, 70.0, 250.0, 1000.0, 7000},    -- split distances outside
           {0.02, 2.0,  20.0, 130.0, 1000.0, 7000}     -- split distances in cockpit
       },
       {   --medium
16384,
           {0.02, 20.0, 70.0, 250.0, 1000.0, 7000},        
           {0.02, 2.0,  20.0, 130.0, 1000.0, 7000}
       },
       {   --high
16384,
           {0.02, 25.0, 100.0, 400.0, 1500.0, 7000},   
           {0.02, 2.5,  25.0,  250.0, 1500.0, 7000}
       },
       {   --ultra
163842,
           {0.02, 25.0, 100.0, 500.0, 2000.0, 7000},   
           {0.02, 2.5,  25.0,  300.0, 2000.0, 7000}
       },

   },


};

Edit the Size of shadowmap at your will.

Link to comment
Share on other sites

  • 2 months later...

I put 8196 into the "size of shadowmap" for the "high" preset (replacing the default 3072).

Both for the Nevada part and for the default part. Then choose "high" for my shadow setting in game.

 

It's getting overwritten each update, so you have redo it when updating.

Link to comment
Share on other sites

Parameter change works, the shadows can look pretty as I remember v1.5 and older.

 

Screen_181102_171037.jpg

new

Screen_181102_171234.jpg


Edited by petsild

🖥️MSI PRO Z690-A DDR4, Kingston 3600 MHz 64 Gb, i5 12600K, Gigabyte RTX 4090, Samsung SSD 970 EVO Plus,🕹️VKB NXT Premium.

Link to comment
Share on other sites

I put 8196 into the "size of shadowmap" for the "high" preset (replacing the default 3072).

Both for the Nevada part and for the default part. Then choose "high" for my shadow setting in game.

 

It's getting overwritten each update, so you have redo it when updating.

 

And isn't possible to save this to "%userprofile%\saved games\dcs\config" folder? Just like you want to make fps limit, then you create in the notepad++ the "autoexec.cfg" file there and write in it: "options.graphics.maxfps = 120"

Link to comment
Share on other sites

thanks Juksen.

Messing a bit with these settings in VR gives good results : I modify "low" slot and I paste in it "ultra" shadowmap (4096) and "medium" split distances (from caucasus settings - to both caucasus and nevada). (file applied with jsgme)

In result I keep the same performances than before (original "medium") but with crisps shadows in cockpit (4096 in VR is very good so I stick with it, while 8192 seems perfect but with a higher load on hardware).

I'ts a big plus to have nice shadows in cockpit.

Link to comment
Share on other sites

I came together with a colleague on the trick. It's about improvements to the existing shadows, High to Ultra, you just need to manually change the settings, which the game officially does not yet offer.

There is a need in the saved games file options.lua change the value of the Shadows on the 5 which is Ultra. Do not be discouraged in the menu of the detail settings you will point Shadows 0.

 

This has the advantage that :) the integrity check will be fine.

 

Comparison of the parameter:

 

--high

3072,

{0.02, 25.0, 100.0, 400.0, 1500.0, 7000},

{0.02, 2.5, 25.0, 250.0, 1500.0, 7000}

 

--ultra

4096,

{0.02, 25.0, 100.0, 500.0, 2000.0, 7000},

{0.02, 2.5, 25.0, 300.0, 2000.0, 7000}

🖥️MSI PRO Z690-A DDR4, Kingston 3600 MHz 64 Gb, i5 12600K, Gigabyte RTX 4090, Samsung SSD 970 EVO Plus,🕹️VKB NXT Premium.

Link to comment
Share on other sites

Much better, thanks!

But "Ultra" does not appear in the settings, so

I modified "High" to:

8192,

{0.02, 25.0, 100.0, 500.0, 2000.0, 7000},

{0.02, 2.5, 25.0, 300.0, 2000.0, 7000}

Mainboard: ASUS Maximus X Hero Intel Z 370

CPU: Intel Core i7-8086K @ 4.0 GHz

Memory: 32GB Corsair Dominator Platinum DDR4-3000

Graphics Card: ASUS NVIDIA GeForce RTX 3080 10GB

Monitor ASUS PA 329 32" @ 4K

1 SSD Samsung 860 PRO 256 GB

1 SSD Samsung 860 PRO 4 TB

Windows 10 - 64 V. 2004

CH Pro combatstick, throttle and pedals

Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...
I came together with a colleague on the trick. It's about improvements to the existing shadows, High to Ultra, you just need to manually change the settings, which the game officially does not yet offer.

There is a need in the saved games file options.lua change the value of the Shadows on the 5 which is Ultra. Do not be discouraged in the menu of the detail settings you will point Shadows 0.

 

This has the advantage that :) the integrity check will be fine.

 

Comparison of the parameter:

 

--high

3072,

{0.02, 25.0, 100.0, 400.0, 1500.0, 7000},

{0.02, 2.5, 25.0, 250.0, 1500.0, 7000}

 

--ultra

4096,

{0.02, 25.0, 100.0, 500.0, 2000.0, 7000},

{0.02, 2.5, 25.0, 300.0, 2000.0, 7000}

 

where is the options.lua to be found?

 

Edit: found it in Users\username\Saved Games\ for future reference.


Edited by nrosko

Win 10 64//4.5g i7 Kaby Lake//gtx Titan x pascal//16gb 3200ram//Asus Maximux Hero IX//Oculus Rift//

Link to comment
Share on other sites

Is there any chance ED can add this option properly in game?

 

V E R Y good question! :thumbup:

 

As for version stable 2.5.4 the option ultra is not present in the game settings.

Mainboard: ASUS Maximus X Hero Intel Z 370

CPU: Intel Core i7-8086K @ 4.0 GHz

Memory: 32GB Corsair Dominator Platinum DDR4-3000

Graphics Card: ASUS NVIDIA GeForce RTX 3080 10GB

Monitor ASUS PA 329 32" @ 4K

1 SSD Samsung 860 PRO 256 GB

1 SSD Samsung 860 PRO 4 TB

Windows 10 - 64 V. 2004

CH Pro combatstick, throttle and pedals

Link to comment
Share on other sites

ED,

 

May we have the "Ultra " setting enabled in the options menu please?

 

I use the ultra settings but 8192 instead of 4096

 

 

Happy Simming,

Monnie

Rack Rig: Rosewill RSV-L4000 | Koolance ERM-3K3UC | Xeon E5-1680 v2 @ 4.9ghz w/EK Monoblock | Asus Rampage IV Black Edition | 64GB 2133mhz | SLI TitanXP w/ EK Waterblocks | 2x Samsung 970 EVO Plus 1TB | Seasonic 1000w Titanium | Windows 10 Pro 64bit | TM Warthog HOTAS w/40cm Extension | MFG Crosswind Rudders | Obutto R3volution | HP Reverb

Link to comment
Share on other sites

ED,

 

May we have the "Ultra " setting enabled in the options menu please?

 

I use the ultra settings but 8192 instead of 4096

 

 

Happy Simming,

Monnie

 

Yesssssssssssssssssss May we please? :thumbup:

I also use the ultra (well, high, because ultra does not appear) settings 8192 instead of 4096

Mainboard: ASUS Maximus X Hero Intel Z 370

CPU: Intel Core i7-8086K @ 4.0 GHz

Memory: 32GB Corsair Dominator Platinum DDR4-3000

Graphics Card: ASUS NVIDIA GeForce RTX 3080 10GB

Monitor ASUS PA 329 32" @ 4K

1 SSD Samsung 860 PRO 256 GB

1 SSD Samsung 860 PRO 4 TB

Windows 10 - 64 V. 2004

CH Pro combatstick, throttle and pedals

Link to comment
Share on other sites

  • Recently Browsing   0 members

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