Jump to content

Solution to Low resolution shadows


Juksen

Recommended Posts

Hmmm, I was looking for why cockpit shadows are so pixelated, even on high settings, and came across this thread.

 

Strange that they don't just make a setting for it. It would take them 10 minutes max.

 

Very strange indeed......

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

  • 1 month later...
Just wanted to say thanks for this and bump this thread. By far the best shadows I have been able to achieve in DCS World so far. Integrity check is a bummer, but hopefully ED will sort that out.

 

Agreed, all they'd have to do is exclude shadows.lua from the IC, how hard could that be?

Link to comment
Share on other sites

Or how hard can it be to include in the settings the ultra option,

wich seemingly, inexplicably, was removed.

 

Updated the release version yesterday. Still no way to select "ultra" in the settings.

Can somebody from ED explain me why there is a line "ultra" in the shadows.lua configuration file, but it doses not appear in the 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

Actually, you can use the "ultra" option...

Head to \DCSWorld\MissionEditor\modules\Options\optionsDb.lua, around line 206, add the line with 'ULTRA' (and don't forget to backup the original) :

graphics('shadows')    :setValue(2)    :combo({Name(_('OFF'))        :Value(0),
                                           Name(_('FLAT ONLY')):Value(1),
                                           Name(_('LOW'))        :Value(2),
                                           Name(_('MEDIUM'))    :Value(3),
                                           Name(_('HIGH'))        :Value(4),
                                           Name(_('ULTRA'))        :Value(5)
                                       }):low(1):medium(1):high(4):VR(3)

I haven't played in multiplayer yet, but the mp window doesn't detect integrity failure.

Intel 9900KF @ 5.1GHz / RTX 2080S OC @ 1.93GHz / ASUS Prime Z390-A / 2x16Gb DDR4 @ 3333 CL16 / Corsair TX850M / Samsung NVME 970 EVO+ / TM warthog Thr. / VKB Gunfighter mkIII + MCG / MFG Crosswind mk3 / Valve Index

Link to comment
Share on other sites

Actually, you can use the "ultra" option...

Head to \DCSWorld\MissionEditor\modules\Options\optionsDb.lua, around line 206, add the line with 'ULTRA' (and don't forget to backup the original) :

graphics('shadows')    :setValue(2)    :combo({Name(_('OFF'))        :Value(0),
                                           Name(_('FLAT ONLY')):Value(1),
                                           Name(_('LOW'))        :Value(2),
                                           Name(_('MEDIUM'))    :Value(3),
                                           Name(_('HIGH'))        :Value(4),
                                           Name(_('ULTRA'))        :Value(5)
                                       }):low(1):medium(1):high(4):VR(3)

I haven't played in multiplayer yet, but the mp window doesn't detect integrity failure.

 

Well, thank you very much, that worked perfectly, and was very easy,

provided a kind person like you finds it out and shares....

And even more inexplicable, being so easy to do, that ED took it away and did not put i back again. It takes literally 30 seconds....

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

Actually, you can use the "ultra" option...

Head to \DCSWorld\MissionEditor\modules\Options\optionsDb.lua, around line 206, add the line with 'ULTRA' (and don't forget to backup the original) :

graphics('shadows')    :setValue(2)    :combo({Name(_('OFF'))        :Value(0),
                                           Name(_('FLAT ONLY')):Value(1),
                                           Name(_('LOW'))        :Value(2),
                                           Name(_('MEDIUM'))    :Value(3),
                                           Name(_('HIGH'))        :Value(4),
                                           Name(_('ULTRA'))        :Value(5)
                                       }):low(1):medium(1):high(4):VR(3)

I haven't played in multiplayer yet, but the mp window doesn't detect integrity failure.

 

Fantastic discovery this works perfectly, I'd rep you if I could :thumbup:

Link to comment
Share on other sites

And is there a performance drop with this mod?

 

And finally is there a mod similar that changes the external shadows for the better?

Thanks

MSI M5 z270 | Intel i5 7600k (OC) 4.8GHz | MSI GTX1080ti Gaming X 11Gb | 500gb Samsung 970 Evo NVME M.2 (DCS World) | 500gb Samsung 850 Evo SSD (OS and Apps) | 32Gb 2400MHz DDR4 - Crucial Ballistix | Be Quiet Silent Loop 240mm | NZXT H440 case |

 

Thrustmaster Warthog - 47608 with Virpil Mongoose joystick base | MFG Crosswinds - 1241 | Westland Lynx collective with Bodnar X board | Pilot's seat from ZH832 Merlin | JetSeat | Oculus Rift S | Windows 10 | VA |

Link to comment
Share on other sites

Fantastic discovery this works perfectly, I'd rep you if I could :thumbup:

This procedure I wrote a long time ago on page 2.

🖥️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

  • 3 weeks later...

Been doing this today, and found that with shadows with a value superior to 3072 the F18 DDI's screens get a ugly shadow in the screens. The upper the value, the biggest is the shadows in the screen. Maybe that's the reason for ED to remove the ultra setting..

Link to comment
Share on other sites

DCS 2.5.5.32299 Open Beta

- Corrected shadows of external model from in-cockpit view, twice the size of before.

🖥️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

  • 9 months later...
  • 1 month later...
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.

 

So how to change the resolution of ground object shadows?

Link to comment
Share on other sites

  • 3 months later...

Hey guys, I want to change one shadow issue - the swapping of the softer shadow to the more defined shadow on other aircraft? When I'm flying close formation, it's constantly swapping between the two on my lead, and looks horrible. Is there a way to make it only render the softer shadow? I figured out how to make the harder shadow draw at longer distance, but it absolutely kills framerates on the SC, where there are lots of aircraft in a close range.

  • Like 1

Intel 11900K/NVIDIA RTX 3090/32GB DDR4 3666/Z590 Asus Maximus motherboard/2TB Samsung EVO Pro/55" LG C9 120Hz @ 4K/Windows 10/Jotunheim Schiit external headphone amp/Virpil HOTAS + MFG Crosswind pedals

Link to comment
Share on other sites

  • Recently Browsing   0 members

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