Jump to content
  •  image.png.9482dad65fbc76551de8aace56890fc2.png

X-Visibility - Dynamic Haze Control 1.0.3

   (7 reviews)

2 Screenshots

About This File


If you would like to support me, you can always get me a coffee.


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.

* 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)

* 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


This script was tested on X-Plane 11.25, and it requires the flyWithLua NG plugin available at:


To install, place X-Visibility.lua in the following folder:
<X-Plane installation path>\Resources\plugins\FlyWithLua\Scripts\

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


Thanks to @SNowblind7 for his help testing this script and for his initial work in the gradualVisibility script from which this is built upon.

What's New in Version 1.0.3   See changelog


Changes for v1.0.3

-Changed default value for xvis_highAltFogMult from 1 to 0.75
-Fixed moon and stars not showing in very low visibility


Changes for v1.0.2

-Integration with FlyAgi Tweak Utility

FlyAgi Tweak Utility can access and configure X-Visibility parameters from within the utility main menu by clicking the 'X-Visibility Fog Control' button. That opens a new menu page with the fog controls.

Thanks to @FlyAgi for reaching out to me to have it included in his script.

  • Like 5

User Feedback

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.



   6 of 6 members found this review helpful 6 / 6 members

I never liked the X-Plane 11 haze but using this plugin I really love it. ?

Link to review

· Edited by pilot11

   1 of 1 member found this review helpful 1 / 1 member

Fantastic. It makes X-Plane 11 look so nice with this Lua. script. It's best at sunset!


Link to review

   1 of 1 member found this review helpful 1 / 1 member

essential plugin. completely transforms the immersion when flying

Link to review

   1 of 2 members found this review helpful 1 / 2 members

Not working with the latest FlywithLua NG, but it's good. 

Link to review
Sagne philippe


Bonjour et merci, je ne vole qu'en VR sur le petit avion, ce plugin rend encore plus immersif la Vr, par contre je n'ai plus la clique des interrupteur et je ne peux pas régler le volume son par le casque oculus cela n 'étant pas grave un grand MERCI .......

Link to review


I like it, and i´m using it with soft cloud art from the .org , nice weather, really good performance!

Link to review
  • image.png.95d5f6237735dbb51a7d356de65d5186.png

  • OprahMeme_2.jpg.3af42e4c51461eca171dd44c371d002e.jpg

  • Top Downloads

    1. More information about "Boeing 737NG Series"
    2. More information about "737-700U"
      By Captain Kitten
         83,793   104
    3. More information about "737-900U"
      By Captain Kitten
         67,262   12
    4. More information about "Scenery Animation Manager - Suite"
    5. More information about "Ryanair [PACKAGE] B737-800 LevelUp"

    FSExpo 2024_ vertical.jpg

  • image.png.715f5e0603adec01665913b5fd776eff.png

  • Create New...

Important Information

Please read the Terms of Use