P3D v5.3 HF2 | No haze/atmo (again)

Any issues, problems or troubleshooting topics related to the Prepar3D client application.
disco79stu
Posts: 57
Joined: Thu Jul 16, 2020 9:05 pm

P3D v5.3 HF2 | No haze/atmo (again)

Post by disco79stu »

Hi,
after updating (client only) to HF2 I have the issue of the missing haze and unlimited visibility again.
Anyone else?
(EA off, no Shader mods)

Image
keenrw
Posts: 107
Joined: Sat Dec 22, 2018 8:17 pm

Re: P3D v5.3 HF2 | No haze/atmo (again)

Post by keenrw »

Yes i saw that today as well using P3D updated to the latest HF and Active Sky which was also updated.
CptJoeyDutch
Posts: 1
Joined: Fri Jan 21, 2022 12:34 am

Re: P3D v5.3 HF2 | No haze/atmo (again)

Post by CptJoeyDutch »

Same issue here I didn't have this in the last update hopefully they can do a quick fix
disco79stu
Posts: 57
Joined: Thu Jul 16, 2020 9:05 pm

Re: P3D v5.3 HF2 | No haze/atmo (again)

Post by disco79stu »

Forgot to mention, I'm also using ActiveSky.
MPO910
Posts: 855
Joined: Wed Apr 15, 2020 5:00 am

Re: P3D v5.3 HF2 | No haze/atmo (again)

Post by MPO910 »

disco79stu wrote: Fri Jan 21, 2022 7:21 am Forgot to mention, I'm also using ActiveSky.
Do you use HiFi ASP3D it's "maximum upper visibility" setting 199 or 200?
Marcus P
Windows 10 Home 21H1
Build 19043.1586
Feature Exp. Pack 120.2212.4170.0
i9 10900K @ 5.0 Ghz | HT OFF | 1.32V
Mainboard ASUS ROG Maximus XII Formula Z490
32 GB RAM 3600 Mhz
RTX 3090 24GB
32" Samsung UHD Monitor
HP Reverb G2 VR HMD | Steam VR
disco79stu
Posts: 57
Joined: Thu Jul 16, 2020 9:05 pm

Re: P3D v5.3 HF2 | No haze/atmo (again)

Post by disco79stu »

MPO910 wrote: Fri Jan 21, 2022 8:43 am Do you use HiFi ASP3D it's "maximum upper visibility" setting 199 or 200?
I use 199, as I always did.
Mejjo
Posts: 19
Joined: Thu Aug 24, 2017 1:17 pm

Re: P3D v5.3 HF2 | No haze/atmo (again)

Post by Mejjo »

I can also confirm that with EA off it appears how it did previously before the fix.
hotbso
Posts: 28
Joined: Tue May 14, 2019 9:01 am

Re: P3D v5.3 HF2 | No haze/atmo (again)

Post by hotbso »

HF1 seemed to "haze away" stars at night so they fixed this in HF2. Unfortunately that removed haze at day time as well (at least when flying high or whatsoever). The following fix (actually it's a hack) blends the new and the old behavior so you have stars at night and haze at day.

Change ShadersHLSL\FuncLibrary.fxh at around line 512. It should look like this

Image

For cut and paste

Code: Select all

// #if !defined(SHD_ENHANCED_ATMOSPHERICS_BLEND) && !defined(SHD_TO_FAR_CLIP) && !defined(SHD_SKY_STARS)
#if !defined(SHD_ENHANCED_ATMOSPHERICS_BLEND) && !defined(SHD_TO_FAR_CLIP)
    float distanceFogTrans = min(transmittance, CalculateExponentialFogBlend(distanceSq, cb_View.mFogDensity));

#if defined(SHD_SKY_STARS)
    distanceFogTrans *= (1 - pow(cb_mDayNightInterpolant, 2));
#endif
    
    fogInscatter += cb_View.mFogColor.rgb * distanceFogTrans;
    transmittance = saturate(transmittance - distanceFogTrans);
#endif
Clear shaders and that's it. Don't blame me for problems.
Sky_King
Posts: 293
Joined: Mon Jun 12, 2017 3:27 pm

Re: P3D v5.3 HF2 | No haze/atmo (again)

Post by Sky_King »

disco79stu wrote: Fri Jan 21, 2022 9:13 am
MPO910 wrote: Fri Jan 21, 2022 8:43 am Do you use HiFi ASP3D it's "maximum upper visibility" setting 199 or 200?
I use 199, as I always did.
From the version history:
"[01/19/22] Changed Maximum upper visibility option default to 200 miles vs. 199 miles based on latest feedback – Use less than 200 miles if you prefer lower visibility (more atmospheric haze) at higher altitudes"
Gigabyte x670 Aorus Elite AX MB; 7800X3D CPU; Deepcool LT520 Cooler; 64 Gb G.Skill Trident Z5 NEO DDR5; Win11 Pro; 1 Samsung 990 2Tb NVMe SSD: 1 Crucial 4Tb MX500 SSD; 1 Samsung 860 1Tb SSD; Gigabyte 1080ti 11Gb VRAM; Toshiba 43" LED TV @ 4k..
jgoggi
Posts: 168
Joined: Tue Oct 27, 2015 10:47 am

Re: P3D v5.3 HF2 | No haze/atmo (again)

Post by jgoggi »

In AS v8054 I don't see the option of adjusting upper maximum visibility, looks like it has been removed once again.
disco79stu
Posts: 57
Joined: Thu Jul 16, 2020 9:05 pm

Re: P3D v5.3 HF2 | No haze/atmo (again)

Post by disco79stu »

jgoggi wrote: Fri Jan 21, 2022 5:30 pm In AS v8054 I don't see the option of adjusting upper maximum visibility, looks like it has been removed once again.
No, it's there. Be sure to disable Enhanced Atmospherics in P3D, then the option will appear...
disco79stu
Posts: 57
Joined: Thu Jul 16, 2020 9:05 pm

Re: P3D v5.3 HF2 | No haze/atmo (again)

Post by disco79stu »

Sky_King wrote: Fri Jan 21, 2022 3:34 pm From the version history:
"[01/19/22] Changed Maximum upper visibility option default to 200 miles vs. 199 miles based on latest feedback – Use less than 200 miles if you prefer lower visibility (more atmospheric haze) at higher altitudes"
Strange, the opposite is the case. I get no haze when it's set to 199. Hence my post here.
disco79stu
Posts: 57
Joined: Thu Jul 16, 2020 9:05 pm

Re: P3D v5.3 HF2 | No haze/atmo (again)

Post by disco79stu »

hotbso wrote: Fri Jan 21, 2022 1:26 pm HF1 seemed to "haze away" stars at night so they fixed this in HF2. Unfortunately that removed haze at day time as well (at least when flying high or whatsoever). The following fix (actually it's a hack) blends the new and the old behavior so you have stars at night and haze at day.

Change ShadersHLSL\FuncLibrary.fxh at around line 512. It should look like this

Image


Clear shaders and that's it. Don't blame me for problems.
Wow, thanks man!
Does the trick for me (even better with Envshade activated).
Still hoping for an official fix though....

Cheers
Wise87
Posts: 19
Joined: Thu Dec 15, 2016 5:06 am

Re: P3D v5.3 HF2 | No haze/atmo (again)

Post by Wise87 »

Mine looks like this and starts at line 504. When I changed it to what was listed above I no longer had preview aircraft.

#if !defined(SHD_ENHANCED_ATMOSPHERICS_BLEND) && !defined(SHD_TO_FAR_CLIP) && !defined(SHD_SKY_STARS)
const float distanceFogTrans = min(transmittance, CalculateExponentialFogBlend(distanceSq, cb_View.mFogDensity));
fogInscatter += cb_View.mFogColor.rgb * distanceFogTrans;
transmittance = saturate(transmittance - distanceFogTrans);
#endif
return float4(fogInscatter, transmittance);
}

Image
Wise87
Posts: 19
Joined: Thu Dec 15, 2016 5:06 am

Re: P3D v5.3 HF2 | No haze/atmo (again)

Post by Wise87 »

Wise87 wrote: Fri Jan 21, 2022 10:56 pm Mine looks like this and starts at line 504. When I changed it to what was listed above I no longer had preview aircraft.
Disregarded my last post, it's working now.
Post Reply