Jump to content

JordanChin

Business class
  • Posts

    12
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by JordanChin

  1. Nice progress Magnus and team. Could you say if cloud self shadowing will stay in 1.14? You showed a preview of it a while back but was that just a test of the tech? I know things have been redone so it might not be in the build featured in subsequent screenshots. It adds an extra layer of depth to things and would be a welcomed addition to the final 1.14 build.
  2. I may have a solution for the unrealistic glow during sunrise/sunset. However, it requires a change to one of the shader files. In the file new_scattering.glsl search for "float atmo_rat" (line 138 in my file), then change the value from: float atmo_rat = clamp(cam_height / ATMO_H, 0.0,1.0); to float atmo_rat = clamp(cam_height / ATMO_H, 0.0,0.0);
  3. @oxxy Yes. No issues from what I can see.
  4. @GP2_Engine I don't think there's a dataref to change the colour of it. Maybe it's something we could ask Laminar for in a bug report.
  5. If you find the haze too thick at higher altitudes, at line 34 you could try something like "local fog_Ratio = (vis_graphical/visibility_reported_m)*0.25". That'll make the total haze generated be 1/4 the normal value. No longer needed in v1.0.1. Just change the value of HighAltFogMult to something lower than 1.
  6. Version 1.0.3

    5,193 downloads

    Donation: If you would like to support me, you can always get me a coffee. https://www.paypal.me/JordanAChin For XP 11.25+ This script provides dynamic haze/fog control based on reported visibility, providing smooth visibility transitions throughout all phases of flight. This means no "infinite" visibility the higher you get, no abrupt visibility changes and a realistic looking atmosphere based on reported visibility for the area. Features: * Smooth visibility transitions during all phases of flight * No white out/grey out/blue out when passing through clouds or at night (My older "No White Out In Clouds" script is no longer needed) * No more infinite visibility * More challenge in IMC conditions * Works with default weather (manual and real weather) Compatibility: * Not compatible with X-Enviro * Not tested with Ultra weather, disabling the haze options in that plugin should get it working with X-Visibilty theoretically * FSE v0.5 uses the older gradual visibility script in the TrueHaze.lua file. Remove all text below (or remove lines 122-288) --TRUEHAZE INTERNAL PARAMETERS and this script should work fine with FSE * If you are using the "No White Out In Clouds" script, please remove it as it is no longer needed Installation: This script was tested on X-Plane 11.25, and it requires the flyWithLua NG plugin available at: https://forums.x-plane.org/index.php?/files/file/38445-flywithlua-ng-next-generation-edition-for-x-plane-11-win-lin-mac/ To install, place X-Visibility.lua in the following folder: <X-Plane installation path>\Resources\plugins\FlyWithLua\Scripts\ Usage: There is no interface but it is possible to change some parameters of this script with the following lines: local plugin_on = true --enable plugin local debug_info = false --show debug info local atmoTop_visibility = 30480 --elevation to apply the max visibility, default is 30480 m local minFog_value = 0.6 --minimum fog value between 0.0-1.0, default is 0.6 local atmoTop_Fog = 1.5 --fog value after passing atmoTop_visibility local highAltFogMult = 1 --reduce to 0.5 or 0.25 if you feel the haze at higher altitudes is too strong, default is 1 Acknowledgements: Thanks to @SNowblind7 for his help testing this script and for his initial work in the gradualVisibility script from which this is built upon.
×
×
  • Create New...

Important Information

Please read the Terms of Use