Jump to content

mpo910

P3D V5.1 Objects through FOG/Clouds Workaround - By LM

Recommended Posts

On 1/12/2021 at 7:15 AM, mpo910 said:

UPDATE FROM LM at their support forum - Follow first link in post above

 

 

Hi,

Thank you for this much needed fix! Do you think a similar fix can be devised for the bug that even in overcast situations sunlight is cast on every object that is above your POV? 

Thanks!

Share this post


Link to post

Thanks for this. But I think I will just wait for P3D v5.2. The fix for this will most likely be in 5.2.

Share this post


Link to post

Fix works very well, only oddity I noticed was God Rays going into hysteria on, off, on, off.

Cheers, Rob.

Share this post


Link to post
12 minutes ago, Rob_Ainscough said:

Fix works very well, only oddity I noticed was God Rays going into hysteria on, off, on, off.

Cheers, Rob.

Hi Rob.

This I did notice without this fix as well. I had GodRays turned off due that "on" "off" "on" "off" behavior. This is within VR and depending on the view "panning" left-right or up-down.

Do you really think this is related to this values?

Marcus

Share this post


Link to post
1 hour ago, mpo910 said:

Hi Rob.

This I did notice without this fix as well. I had GodRays turned off due that "on" "off" "on" "off" behavior. This is within VR and depending on the view "panning" left-right or up-down.

Do you really think this is related to this values?

Marcus

This I only have seen 2-3 times, both in the sky as on the ground. After a reload of P3D it was gone. So I have them on.

The moments it appeared was when I had changed views multiple times.

Hopefully LM can fix this for good. Plus the orange skies and low res early dawn/ late dusk clouds...

  • Like 1
  • Upvote 1

Gerard

7940x ( 14 cores ) : 14 cores @ 4.7 - Gigabyte X299 Gaming 7 - 32 Gb G.Skill Trident Z 3200Mhz Cl 14 - Inno3D RTX3090 X4 iCHILL 24 Gb - 1x SSD M2 1800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 43” Sony 4K tv's in NVSurround

8700K : all 6 cores @ 5.0 GHz - Asus ROG 370 - 16 Gb 4000 MHz @ 3600 Mhz - Inno3D RTX 3090 X3 iCHILL 24 Gb  - 1x SSD M2 1800/1800 2TB - 2x  Sata 600 SSD 500 Mb - 1x 55” Sony 4K tv

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

Share this post


Link to post

It's very possible the hysteria issue with God Rays was a coincidence.  I had reported the God Ray hysteria early on in the Beta with video ... it's a difficult issue to replicate as it's not consistent.

But relative to the shader code changes, it's a big improvement!! (I'll give up God Rays for it)  ... even more so if one uses ChasePlane with gimble off (where the original problem was very apparent.

Yes, still lots of other issues to be fixed but the dev team is back and working on it.  I'm still blown away by the performance of P3D V5.x even on my now "dated" hardware (9900K and Titan RTX) ... can't wait to see what an AMD 5950X and nVidia 3090 can do (and a AMD 5950X and 6900XT)  ... yes the "out of stock" wait is killing me 🙂

On an unrelated side note, has anyone noticed the EA clouds move very quickly during high winds?  Not sure if this is my VolumetricClouds.cfg modifications or something else in HiFi ASP3D?

Cheers, Rob.

Share this post


Link to post

Odd my post got replicated?

Edited by Rob_Ainscough

Share this post


Link to post
23 minutes ago, Rob_Ainscough said:

 AMD 5950X and nVidia 3090 can do (and a AMD 5950X and 6900XT)  ... yes the "out of stock" wait is killing me 🙂

On an unrelated side note, has anyone noticed the EA clouds move very quickly during high winds?  Not sure if this is my VolumetricClouds.cfg modifications or something else in HiFi ASP3D?

Cheers, Rob.

With the AMD I could help you out to get one quicker as waiting for Stock in USA. If you are interested, PM me. In Germany it is in Stock at a very well known supplier for round about EUR 973,- (in Stock Status 2 minutes ago).

Yes. The cloud movement is noticeable at my end too. I use ASP3D latest build. Update interval set to 5 minutes.

I think this is what happens (but maybe you did not mend the update interval set in your ASP3D app).

At low wind speeds "at cloud level" this is also noticeable, but then they are not moving so fast and not so long/far.

At high wind speeds "at cloud level" this becomes very noticeable. Clouds "have to travel" further and due the higher wind speeds faster, from the prior "updated interval location" to the present updated "location". At high winds, the clouds have to travel further and faster, this is what I see (in a short time compressed), at least I assume this.

So it seems that at higher wind speeds and bigger difference regarding cloud location, before and after the update, the movement speed is bigger too.

But I see here a big chance too.

As performance reduction during this update and movement is negligible, maybe updating much more often will reduce this. I think about updating every 10 seconds? Or even more often? Realtime?

This would be great but I really don´t know which restriction there are also.

But I like the idea that truesky has possibilities to update per movement and not redrawing suddenly at the updated cloud location.

Marcus 

 

 

Edited by mpo910

Share this post


Link to post

@mpo910

Awesome post thank you so much  !!

  • Like 1

-Jerome

"In thrust we trust"

Share this post


Link to post
8 hours ago, Rob_Ainscough said:

It's very possible the hysteria issue with God Rays was a coincidence.  I had reported the God Ray hysteria early on in the Beta with video ... it's a difficult issue to replicate as it's not consistent.

But relative to the shader code changes, it's a big improvement!! (I'll give up God Rays for it)  ... even more so if one uses ChasePlane with gimble off (where the original problem was very apparent.

Yes, still lots of other issues to be fixed but the dev team is back and working on it.  I'm still blown away by the performance of P3D V5.x even on my now "dated" hardware (9900K and Titan RTX) ... can't wait to see what an AMD 5950X and nVidia 3090 can do (and a AMD 5950X and 6900XT)  ... yes the "out of stock" wait is killing me 🙂

On an unrelated side note, has anyone noticed the EA clouds move very quickly during high winds?  Not sure if this is my VolumetricClouds.cfg modifications or something else in HiFi ASP3D?

Cheers, Rob.

Oh yes, as an owner of a 5950X and a Watercooled 6900XT Ican tell you I love it 🙂 P3D was never so smooth for me.

 But i was coming from a 9990XE and a Radeon VII so the 6900XT alone was nearly 100 % more powerfull then my Radeon VII 


sfo_a320.png

 

C. W. ,Ryzen 9 5950X @H2O , 32 GB RAM DDR4 3600 Mhz CL15 , Samsung SSD980 1 TB and Crucial MMX500, Radeon 6900XT Watercooled

Share this post


Link to post
On 1/12/2021 at 8:56 PM, mpo910 said:

Maybe I am a little picky now....but this is most likely not the final solution. It is communicated by LM to be a "work around" until they fixed it with the next release.

I can not say if this provided workaround will taken as the final fix. 

Just to be aware off incase of any future updates. 

Fiddling with the core shaders is not a good way and can cause instable situations if not done properly.

😉

Regards

Marcus

Thanks Marcus but how does one edit a fxh file? 🤔


Shom

[P3D v5.1 HF1 running on Win 10 Pro, i7-9700K, EVGA 1080Ti, Crucial 2666 16GB, 2 500GB Samsung EVOs 850/860]

[FSLabs A319/320/321, Feelthere E170/175/190/195 v3, PMDG 737 NGXu ,TFDI 717, Aerosoft CRJ Pro, Majestic Dash 8, CS 757 iii, Feelthere ERJ-145, Fly The Maddog X, QW 787, PMDG 777]

Share this post


Link to post
2 minutes ago, Shomron said:

Thanks Marcus but how does one edit a fxh file? 🤔

Notepad++ is free to download. 

  • Like 1

Share this post


Link to post
On 1/12/2021 at 1:51 AM, Rob_Ainscough said:

Thanks Marcus!

Summary:

Modify from your P3D install i.e. - D:\Lockheed Martin\Prepar3D v5\ShadersHLSL\FuncLibrary.fxh

Line 781 - replace (one line)

vProj[2][2] += ZBias * 4.76837158e-7;

with (3 lines)

float zBiasOverride = ZBias;
if (ZBias < 0) zBiasOverride = -1 + ZBias * 0.03333333;
vProj[2][2] += zBiasOverride * 4.76837158e-7;

Clear out the shader cache (delete folder here %LocalAppData%\Lockheed Martin\Prepar3D v5\Shaders)

Cheers, Rob.

For those using Envshade, the code of interest will not be at line 721, as Envshade does modify this file...in my case it was at line 821, but its precise location in the file may vary depending on how you have Envshade configured.

Also, you will most likely have to go back in and reaccomplish this edit if you use Envshade to modify the shader settings again later.

FWIW, for those using the Lorby-SI P3D Addon Manager, under the "Tools" tab there's a handy one-click "Clear the Shader Cache" function there many may not have noticed.

 

  • Like 1
  • Upvote 2

Bob Scott | AVSIM Forums Administrator | AVSIM Board of Directors
ATP Gulfstream II-III-IV-V

System: i9-10900K @ 5.2GHz on custom water loop, ASUS Maximus XII Hero, 32GB GSkill 3600MHz CAS15, EVGA RTX3090 XC3 Ultra
Samsung 55" JS8500 4K TV@30Hz,
3x NVME 2x SATA Samsung SSD, EVGA 1KW PSU, 1Gbps internet
SoundBlaster XFi Titanium, TOSLINK to Yamaha RX-V467 HT Rcvr, Polk/Klipsch 6" bookshelf spkrs, Polk 12" subwoofer, 12.9" iPad Pro
PFC yoke/throttle quad/pedals with custom Hall sensors, Coolermaster HAF932 case, Stream Deck XL button box

Share this post


Link to post

Performed this fix today... what a great edit!!!   Makes it difficult to find the airport in the fog/haze...  thanks!!!

  • Like 1

i7 6700K @ 4.6GHz, ASUS Z170-PRO GAMING, 32GB DDR4 2666MHz, 750W EVGA SuperNOVA, 512GB Samsung 960 PRO, 1TB Western Digital - Black Edition
RTX 2080Ti (MSI trio), Corsair H115i - 280mm Liquid CPU Cooler

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    40%
    $10,150.00 of $25,000.00 Donate Now
×
×
  • Create New...