January 21, 20215 yr Hi, P3D's HDR mode looks really weird with some aircraft, especially FSLabs A320. Since P3D v5.1 HDR mode became mandatory for trueSKY (which is not surprising, as volumetric cloud / sky calculations tend to involve physical brightness values which often exceed SDR), and it looks like many people didn't like this decision. Even though it is possible to simply disable HDR mode using prepar3d.cfg, it causes artifacts as sky & volumetric cloud highlights get clamped to maximum brightness. I've created a little tweak, which changes the tonemapping function used in HDR mode from ACES to Reinhard. This essentially brings SDR mode look back, while preventing artifacts caused by SDR rendering. It only works with P3D v5.1 HF1. How to install: Download HDR.hlsl from https://www.dropbox.com/s/2jh0y9swa9h6emv/HDR.hlsl?dl=0 and replace it with HDR.hlsl in "Lockheed Martin\Prepar3D v5\ShadersHLSL\PostProcess" (don't forget to create a backup first), where "Lockheed Martin" is your main P3D installation directory. Delete shader cache by removing the "%localappdata%\Lockheed Martin\Prepar3D v5\Shaders" folder. Edited January 21, 20215 yr by BiologicalNanobot PC specs: i5-12400F, RTX 3070 Ti and 32 GB of RAM. Simulators I'm using: X-Plane 12, Microsoft Flight Simulator (2020) and FlightGear.
January 21, 20215 yr Hmmm, very interested in this, will have to give it a try tomorrow. For those using EnvShade, will this be overwritten each time we update shaders? Edited January 21, 20215 yr by B777ER Eric
January 21, 20215 yr Author 42 minutes ago, B777ER said: Hmmm, very interested in this, will have to give it a try tomorrow. For those using EnvShade, will this be overwritten each time we update shaders? Hi, sadly I can't comment on this as I don't have Envshade and I don't know what shaders it overrides. PC specs: i5-12400F, RTX 3070 Ti and 32 GB of RAM. Simulators I'm using: X-Plane 12, Microsoft Flight Simulator (2020) and FlightGear.
January 22, 20215 yr Completed a flight and it works really well on my system, HDR is way more tolerable. Thanks for this.
January 22, 20215 yr Confirming working with HF1 / HDR with SDR frame rates and looking much better Thankyou.
January 22, 20215 yr Hi just did a clean install of W10 / P3D V5.1 / Aircraft finding this mod did artifact 1 aircraft in my install where the Aircraft select is. Other aircraft are fine. Hunch is its the model/lighting itself and not the mod. im still very happy with it and a way smoother experience. Just backup the old file as BiologicalNanobot says and clear cache. Looking at the next hotfix then start from a mod free stock P3D 5 to see what happens. Edited January 22, 20215 yr by 40track
February 2, 20215 yr Looks great during the day, but at night this brings back the "FSX Era" night brightness problem for me. ~Spencer HoeferMOBO: Gigabye Aorus z590 elite | CPU: Intel i9-10900k | RAM: GSKILL RIPJAWS 32GB DDR4 3200 |GPU: Nvidia RTX 2080Ti 11GB| OS: Windows 10
February 2, 20215 yr On 21/01/2021 at 10:48 PM, B777ER said: Hmmm, very interested in this, will have to give it a try tomorrow. For those using EnvShade, will this be overwritten each time we update shaders? Beat me to it Eric
February 4, 20215 yr Thanks for this perfect work. After i change this file i start the Envshade Tool to inject Envshade again. It works perfect for me Thanks Frank WIN 11 64 Pro, Gigabyte Z790 Aorus Elite AX, I7 13700K, be-quiet Loop Silent 2 WK, RTX 4080 S, 64 GB DDR5 Kingston Fury Beast EXPO, 4x Nvme Samsung PRO, MS2024, be quiet SP11 850 Watt
February 4, 20215 yr On 1/21/2021 at 3:48 PM, B777ER said: Hmmm, very interested in this, will have to give it a try tomorrow. For those using EnvShade, will this be overwritten each time we update shaders? From examining the two hlsl files, I've concluded that this mod is not compatible with Envshade. Envshade also modifies the same HDR tonemap code in HDR.hlsl, so if you install this file you will lose the Envshade code, and if you write a config with Envshade it will overwrite this mod. Bob Scott | President and CEO, AVSIM Inc ATP Gulfstream II-III-IV-V Sys1 (MSFS20+24/XPlane12+11): AMD 9800X3D, water 2x240mm, MSI MPG X670E Carbon, 64GB GSkill 6000/30, nVidia RTX4090FE Alienware AW3821DW 38" 21:9 GSync, 2x4TB Crucial T705 PCIe5 + 2x2TB Samsung 990 SSD, EVGA 1000P2 PSU, 12.9" iPad Pro Thrustmaster TCA Boeing Yoke, TCA Airbus Sidestick, Twin TCA Airbus Throttle quads, PFC Cirrus Pedals, Coolermaster HAF932 case Sys2 (P3Dv5/v4): i9-13900KS, water 2x360mm, ASUS Z790 Hero, 32GB GSkill 7800MHz CAS36, ASUS RTX4090 Samsung 55" JS8500 4K TV@60Hz, 3x 2TB WD SN850X 1x 4TB Crucial P3 M.2 NVME SSD, EVGA 1600T2 PSU Fiber link to Yamaha RX-V467 Home Theater Receiver, Polk/Klipsch 6" bookshelf speakers, Polk 12" subwoofer, 12.9" iPad Pro PFC yoke/throttle quad/pedals with custom Hall sensor retrofit, Thermaltake View 71 case, Stream Deck XL button box Sys3 (DCS/P3Dv4/ATS/ETS): AMD 7800X3D, MSI MPG X870E Carbon, Noctua NH-D15S, 64GB GSkill 6000/30, EVGA RTX3090 Alienware AW3420DW 34" 21:9 GSync, Corsair HX1000i PSU, 4TB Crucial T705 PCIe5 + 2TB Samsung 970Evo Plus, TM TCA Officer Pack, Saitek combat pedals, TM Warthog, TM RS300 FF wheel/pedals, Coolermaster HAF XB case
February 4, 20215 yr 1 hour ago, w6kd said: From examining the two hlsl files, I've concluded that this mod is not compatible with Envshade. Envshade also modifies the same HDR tonemap code in HDR.hlsl, so if you install this file you will lose the Envshade code, and if you write a config with Envshade it will overwrite this mod. Yep, I tried it out and did not work out. Back to EnvShade. Eric
Archived
This topic is now archived and is closed to further replies.