Jump to content

DCS 2.7 shader edits


Mustang

Recommended Posts

7 hours ago, swartbyron said:

Agreed, the new Caucasus textures look awful without Mustangs Shaders. 👍

I wont fly Caucasus without them!

+1

  • Like 1

Portugal

Col. Bruno "Fonzie" F. (on DCS)

 

[sIGPIC][/sIGPIC]

 

"About carrier ops: The younger pilots are still quite capable of holding their heads forward against the forces. The older ones have been doing this too long and know better; sore necks make for poor sleep.'

 

PC: I7 4790K 4.5ghz | 32GB RAM | Zotac GTX 1080Ti 11Gb DDR5x | Water cooler NZXT AIO x56 | SSD´s | Valve Index.

Link to comment
Share on other sites

Same, always the first mod I install after each update. And the ghosting thing is to do with the core game, I see it with no mods. 

 

I love this mod Mustang, I hope you are able to keep it up! Thanks! 

"Though I fly through the Valley of Death, I shall fear no evil, for I am at 80,000 feet and climbing"

GTX 1080Ti 2025MHz, Ryzen 5 5600x 4.9GHz, MSI MPG B550 Gaming, 32 GB DDR4 RAM 3200 MHz, a bunch of SSDs,

Oculus Quest 2.

No water cooling but enough fans that my rig just hovers around the room now.

Link to comment
Share on other sites

It doesn't help that DCS' engine has such terrible graphic options, and we can't properly override the existing AA. I finally learned how to use DSR and was taking 4k screenshots last night, and even with the ghosting the water looked WAY better with the custom shaders. The default water is just too reflective for me, especially at distance, and at sunset/sunrise.

 

I'm curious what is causing the ghosting. Has anyone tried installing the shader pack minus the water reflections? Or compared side to side to make small changes one by one to see what setting might be impacting it?

Heatblur Rivet Counting Squad™

 

VF-11 and VF-31 1988 [WIP]

VF-201 & VF-202 [WIP]

Link to comment
Share on other sites

  • 4 weeks later...

This still seems to work OK with the latest OB 2.7.4.  Interested if anyone has seen any issues with it, I’ve had limited time in the last few weeks, so it's really been a total of about 2 hours worth of sim time that my conclusion is based on.

10900K O/C 5.2GHz | Maximus Hero XII | EVGA 3090 FTW Ultra | 64GB DDR4 3600 | DCS on 2TB NVMe | WarBRD+Warthog Stick | CM3 | TM TPR's | Reverb G2

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
On 6/16/2021 at 11:19 PM, LanceCriminal86 said:

Has anyone observed weird "ghosting" when in F2 view over water?

its part of the SSLR algorithm. its present in vanilla DCS but the shader edits may make it a bit more obvious. the algorithm mixes current frame with previous frame to decrease noise.

 

i found a way how to disable it however. in enlight/waterReflection.hlsl, replace:

return float4(mixPrevFrame(refl.xyz, NDC), 1);

with:

return float4(refl.xyz, 1);

 

and delete:

if (useMixPrevFrame)
        return float4(mixPrevFrame(refl, NDC), 1);
    else

 

now ghosting is entirely gone but the reflections will be quite noisy. your choice.

 

 

it would be worthwhile to investigate how to make the shader use exclusively the current frame in reflection areas that werent present in the previous frame based on depth buffer or stencil buffer but thats beyond my abilities. if possible, this would remove both noise and ghosting of objects moving above water. im not smart enough for this sort of stuff.


Edited by dorianR666
  • Like 1
  • Thanks 1

CPU: AMD Ryzen 5 1600X

GPU: AMD RX 580

Link to comment
Share on other sites

here is comparison:

 

 

 

left side: vanilla DCS (Mustangs shader edits behave this way as well)

right side: my modification as described above

 

notice that ghosting of ships antennas (white trailing "shadow"), edges of screen (repeated white lines) and distorted reflections of terrain during zooming, are gone.

downside is that the reflections are less smooth.


Edited by dorianR666
  • Like 1

CPU: AMD Ryzen 5 1600X

GPU: AMD RX 580

Link to comment
Share on other sites

Thanks for that testing. I love Mustang shaders but not so much the ghosting effect. I will try your fix to see if the sharpen reflections are to much.

" You must think in russian.."

[sIGPIC][/sIGPIC]

 

Windows 7 Home Premium-Intel 2500K OC 4.6-SSD Samsung EVO 860- MSI GTX 1080 - 16G RAM - 1920x1080 27´

 

Hotas Rhino X-55-MFG Crosswind Rudder Pedals -Track IR 4

Link to comment
Share on other sites

3 hours ago, Esac_mirmidon said:

Thanks for that testing.

No problem.

 

3 hours ago, Esac_mirmidon said:

if the sharpen reflections are to much.

Its fine most of the time but looks distracting sometimes. The real problem is that the game renders the reflections at much lower resolution than screen and then upscales it. In regards to my modification, this means that the reflection "pixels" are large and this makes the jittery nature of my mod worse. Each speck of reflection is about 3-4 pixels wide. There is no moddable solution for this, ED would have to add a resolution setting for this.

 

 

On a positive node, I have found that my mod also entirely eliminates this issue:

vlcsnap-2021-08-18-05h48m24s722.jpgvlcsnap-2021-08-18-05h48m21s347.jpg

which happens when you switch cameras sometimes, as you have probably already noticed while playing DCS.

ED should program the game to discard the previous frame when switching cameras, as the image cannot possibly be correct.


Edited by dorianR666
  • Like 1

CPU: AMD Ryzen 5 1600X

GPU: AMD RX 580

Link to comment
Share on other sites

7 hours ago, dorianR666 said:

its part of the SSLR algorithm. its present in vanilla DCS but the shader edits may make it a bit more obvious. the algorithm mixes current frame with previous frame to decrease noise.

 

i found a way how to disable it however. in enlight/waterReflection.hlsl, replace:

return float4(mixPrevFrame(refl.xyz, NDC), 1);

with:

return float4(refl.xyz, 1);

 

and delete:

if (useMixPrevFrame)
        return float4(mixPrevFrame(refl, NDC), 1);
    else

 

now ghosting is entirely gone but the reflections will be quite noisy. your choice.

 

 

it would be worthwhile to investigate how to make the shader use exclusively the current frame in reflection areas that werent present in the previous frame based on depth buffer or stencil buffer but thats beyond my abilities. if possible, this would remove both noise and ghosting of objects moving above water. im not smart enough for this sort of stuff.

 

 

Hi,

strange artifacts on the water surface have been here for several years.

Repair is easy, please @BIGNEWY check, thank you.

🖥️Asus B-85 Pro Gamer, i7 4790K non-oc, Asus GTX 1080 Ti, 16 GB non-oc RAM, Samsung SSD 970 EVO Plus - 512 GB,🕹️VKB NXT Premium, W10 64-bit.

Link to comment
Share on other sites

5 hours ago, dorianR666 said:

here is comparison:

 

 

 

left side: vanilla DCS (Mustangs shader edits behave this way as well)

right side: my modification as described above

 

notice that ghosting of ships antennas (white trailing "shadow"), edges of screen (repeated white lines) and distorted reflections of terrain during zooming, are gone.

downside is that the reflections are less smooth.

 

 

I've adjusted according to the instructions and all the disturbing ghosts are gone.

Overall, the water is now more realistic, and the adjustment even passes through IC ready.

This is a handy 👍 fix and thank you to the creator Dorian.

🖥️Asus B-85 Pro Gamer, i7 4790K non-oc, Asus GTX 1080 Ti, 16 GB non-oc RAM, Samsung SSD 970 EVO Plus - 512 GB,🕹️VKB NXT Premium, W10 64-bit.

Link to comment
Share on other sites

13 hours ago, dorianR666 said:

its part of the SSLR algorithm. its present in vanilla DCS but the shader edits may make it a bit more obvious. the algorithm mixes current frame with previous frame to decrease noise.

 

i found a way how to disable it however. in enlight/waterReflection.hlsl, replace:

return float4(mixPrevFrame(refl.xyz, NDC), 1);

with:

return float4(refl.xyz, 1);

 

and delete:

if (useMixPrevFrame)
        return float4(mixPrevFrame(refl, NDC), 1);
    else

 

now ghosting is entirely gone but the reflections will be quite noisy. your choice.

 

 

it would be worthwhile to investigate how to make the shader use exclusively the current frame in reflection areas that werent present in the previous frame based on depth buffer or stencil buffer but thats beyond my abilities. if possible, this would remove both noise and ghosting of objects moving above water. im not smart enough for this sort of stuff.

 

thanks for this just; checking your second edit (highlighted above) that leaves a hanging return?  do you keep the else or lose the return ?  or just leave it hanging 🙂

 

NVM - figured it out (doh)


Edited by speed-of-heat

SYSTEM SPECS: Hardware Intel Corei7-9700K @ 5.1 GHz, 64Gb RAM, EVGA 3090 XC3, Dell S2716DG, Virpil T50CM3 Throttle, T-50CM2 Base & Constellation Alpha + MFG Crosswinds V2, HP Reverb G2 @ 2836 x 2768
SOFTWARE: Microsoft Windows 11, VoiceAttack & VIACOM PRO, TacView

VR Stuff:   My Settings for 3090 and G2  My Settings for 1080ti  Shaders MOD for VR  My variant of Kegetys mod with clear water and also IC PASS for current beta & stable, Patch Status

1569924735_WildcardsBadgerFAASig.jpg.dbb8c2a337e37c2bfb12855f86d70fd5.jpg

Link to comment
Share on other sites

 
Is it possible to correct the behavior of new clouds, they ugly pixelizet the horizon?

🖥️Asus B-85 Pro Gamer, i7 4790K non-oc, Asus GTX 1080 Ti, 16 GB non-oc RAM, Samsung SSD 970 EVO Plus - 512 GB,🕹️VKB NXT Premium, W10 64-bit.

Link to comment
Share on other sites

I think overall the fix is worthy.

 

The benefits of the shaders pack plus the fix you provided is a very good compromise in most situations.

 

Its true that sometimes the sharpen effect is to much. But IS good enough for me. Thanks mate for the fix

" You must think in russian.."

[sIGPIC][/sIGPIC]

 

Windows 7 Home Premium-Intel 2500K OC 4.6-SSD Samsung EVO 860- MSI GTX 1080 - 16G RAM - 1920x1080 27´

 

Hotas Rhino X-55-MFG Crosswind Rudder Pedals -Track IR 4

Link to comment
Share on other sites

On 8/17/2021 at 6:07 PM, dorianR666 said:

its part of the SSLR algorithm. its present in vanilla DCS but the shader edits may make it a bit more obvious. the algorithm mixes current frame with previous frame to decrease noise.

 

i found a way how to disable it however. in enlight/waterReflection.hlsl, replace:

return float4(mixPrevFrame(refl.xyz, NDC), 1);

with:

return float4(refl.xyz, 1);

 

and delete:

if (useMixPrevFrame)
        return float4(mixPrevFrame(refl, NDC), 1);
    else

 

now ghosting is entirely gone but the reflections will be quite noisy. your choice.

 

 

it would be worthwhile to investigate how to make the shader use exclusively the current frame in reflection areas that werent present in the previous frame based on depth buffer or stencil buffer but thats beyond my abilities. if possible, this would remove both noise and ghosting of objects moving above water. im not smart enough for this sort of stuff.

 

This works. I noticed that the ghosting at the horizon comes back though if I go inverted, pretty much any roll angle >90°, and it's quite pixelated. Still looks great the rest of the time though, and I can't say I find the reflections particularly noisy. Thanks for doing this, it's a keeper! 

"Though I fly through the Valley of Death, I shall fear no evil, for I am at 80,000 feet and climbing"

GTX 1080Ti 2025MHz, Ryzen 5 5600x 4.9GHz, MSI MPG B550 Gaming, 32 GB DDR4 RAM 3200 MHz, a bunch of SSDs,

Oculus Quest 2.

No water cooling but enough fans that my rig just hovers around the room now.

Link to comment
Share on other sites

  • 1 month later...

I confirm the crash too. It happens when I switch the external view to a boat or an object near a boat.

[sIGPIC][/sIGPIC]

 

Intel I7 8700K / EVGA GTX 1080 / 32Go DDR4 PC21300 G.Skill Ripjaws V / MSI Z370 Gaming Pro Carbon / Cooler Master Silent Pro Gold - 1000W / Noctua NH-D14 / Acer XB270HUDbmiprz 27" G-synch 144Hz / SSD Samsung 860EVO 250Go + 1To / Cooler Master HAF X / HOTAS Warthog / Thrustmaster TPR / Track-IR v5 + Track Clip Pro / Windows 10 64bits.

Link to comment
Share on other sites

This mod is still working for me on the latest 2.7.7 version from today. The kegetys/SOH mod (https://forums.eagle.ru/topic/183659-vr-shaders-mod-for-better-vr-experience/page/103/) is causing a DX11 error crash for me though. I believe they are aware of it and are seeing what can be done. Apparently the IC pass version still works

image.png

 


Edited by Sandmonkee

"Though I fly through the Valley of Death, I shall fear no evil, for I am at 80,000 feet and climbing"

GTX 1080Ti 2025MHz, Ryzen 5 5600x 4.9GHz, MSI MPG B550 Gaming, 32 GB DDR4 RAM 3200 MHz, a bunch of SSDs,

Oculus Quest 2.

No water cooling but enough fans that my rig just hovers around the room now.

Link to comment
Share on other sites

note that metashaders is now encrypted... so that means specifically that grass.fx wont have any effect. but otherwise this seems to work 

  • Like 1
  • Thanks 1

SYSTEM SPECS: Hardware Intel Corei7-9700K @ 5.1 GHz, 64Gb RAM, EVGA 3090 XC3, Dell S2716DG, Virpil T50CM3 Throttle, T-50CM2 Base & Constellation Alpha + MFG Crosswinds V2, HP Reverb G2 @ 2836 x 2768
SOFTWARE: Microsoft Windows 11, VoiceAttack & VIACOM PRO, TacView

VR Stuff:   My Settings for 3090 and G2  My Settings for 1080ti  Shaders MOD for VR  My variant of Kegetys mod with clear water and also IC PASS for current beta & stable, Patch Status

1569924735_WildcardsBadgerFAASig.jpg.dbb8c2a337e37c2bfb12855f86d70fd5.jpg

Link to comment
Share on other sites

This mod was the one who works best for me.

Crashing DCS too after today patch. Hope it can be fixed.

 

Thank you.

Portugal

Col. Bruno "Fonzie" F. (on DCS)

 

[sIGPIC][/sIGPIC]

 

"About carrier ops: The younger pilots are still quite capable of holding their heads forward against the forces. The older ones have been doing this too long and know better; sore necks make for poor sleep.'

 

PC: I7 4790K 4.5ghz | 32GB RAM | Zotac GTX 1080Ti 11Gb DDR5x | Water cooler NZXT AIO x56 | SSD´s | Valve Index.

Link to comment
Share on other sites

3 hours ago, speed-of-heat said:

note that metashaders is now encrypted... so that means specifically that grass.fx wont have any effect. but otherwise this seems to work 

I know nothing of how this stuff works, but I know I have grass turned off completely in the DCS settings. Could that be why the game loads for me but not for some (who may have grass turned on)?

Again, I have no idea what I'm talking about.

"Though I fly through the Valley of Death, I shall fear no evil, for I am at 80,000 feet and climbing"

GTX 1080Ti 2025MHz, Ryzen 5 5600x 4.9GHz, MSI MPG B550 Gaming, 32 GB DDR4 RAM 3200 MHz, a bunch of SSDs,

Oculus Quest 2.

No water cooling but enough fans that my rig just hovers around the room now.

Link to comment
Share on other sites

Try this

1) uninstall the mod

2) rename the metashaders folder in the mod to become “— metashaders” or delete it

3) reapply the mod

 

  • Like 1
  • Thanks 1

SYSTEM SPECS: Hardware Intel Corei7-9700K @ 5.1 GHz, 64Gb RAM, EVGA 3090 XC3, Dell S2716DG, Virpil T50CM3 Throttle, T-50CM2 Base & Constellation Alpha + MFG Crosswinds V2, HP Reverb G2 @ 2836 x 2768
SOFTWARE: Microsoft Windows 11, VoiceAttack & VIACOM PRO, TacView

VR Stuff:   My Settings for 3090 and G2  My Settings for 1080ti  Shaders MOD for VR  My variant of Kegetys mod with clear water and also IC PASS for current beta & stable, Patch Status

1569924735_WildcardsBadgerFAASig.jpg.dbb8c2a337e37c2bfb12855f86d70fd5.jpg

Link to comment
Share on other sites

9 hours ago, speed-of-heat said:

note that metashaders is now encrypted... so that means specifically that grass.fx wont have any effect. but otherwise this seems to work 

imagine encrypting shaders...

what are you doing ED?

CPU: AMD Ryzen 5 1600X

GPU: AMD RX 580

Link to comment
Share on other sites

×
×
  • Create New...