4.88 STARS

15.2K+ Downloads

RXP XP12 Enhancer

This mod is improving visuals with a few settings changes from default, adding little enhancements to the X-Plane 12 visual experience, and it is particularly focusing on exposure, tonemapping, white balance, sky and atmosphere, volumetric clouds and night lighting. It is only changing...


Now updated for XP12.09 with Auto-Save settings!

This script is enhancing the X-Plane 12 visual experience and provides a set of options which are carrefuly selected and adjusted for their direct and visible changes. The main goal is to achieve a more realistic rendition inside and out, while at the same time trying to correct some of the most glaring limitations of X-Plane 12 rendering engine. This script is only modifying a few datarefs at runtime in order to improve, among other things, the following: exposure, tone mapping, white balance, sky, atmosphere, volumetric clouds and night lighting. 

The script also handles mettering and auto-exposure in order to try reaching a better balance between brights and darks when in-cockpit, to get closer to the sunny 16 rule when outside, to maintain a consistent level of exposure whether zooming the view, or to maintain a natural change of exposure when looking from darker to brighter places. 

Note: The script requires XP12 v12.06+ and only changes private art datarefs. These datarefs are subject to change between versions and are meant primarily for the sole use of LR. This script might therefore not work entirely as expected with future XP12 versions.


1) Download and install the latest FlyWithLua

2) Copy the lua script to the FlyWithLua scripts folder:



The script offers a settings window which can show up automatically when the script loads, otherwise in using either this menu or command:

    Menu:    FlyWithLua > FlyWithLua Macros > RealityXP X-Plane 12 Enhancer...
    Command: 'RXP/Utility/Enhancer/toggle_window'


This mod also includes a set of XP12 loader background images shot in 4K.

This mod is released under the MIT license.

Special thanks to Q8Pilot for his review.

Special thanks to Furax84 for his review in French (with before/after comparisons)


Reviews and Showcases

How to Fix Dark Cockpits and Overexposed Sky in X-Plane 12 by X-Crafts

How to Fix the Dark Cockpit in X-Plane 12 | RXP XP12 Enhancer (video)

X-Plane 12 FlyJSim Q4XP KHVN — Night Flight with RXP XP12 Enhancement (video)

IXEG 737 | LIMF - LIEE | X-Plane 12 Time-lapse | RXP XP12 Enhancer (video)

XPD: No more Dark Cockpits in XP12 (video)

Х-plane 12 | Графічні налаштування X-plane 12 | Якісне зображення та високий фремрейт | FlyHomе (video)

[ Tuto X-Plane 12 ] Améliorez la lumière avec RXP XP12 Enhancer (video)

KFXE-MMUN landing AKD G550 XP12


Please make sure to read additional informations in the included readme.txt

Note: screenshots hosted on x-plane.to may appear darker. They're all included in the add-on package for off-line review.

clouds sky color enhancer rain shadows water oceans light exposure visuals presets lightning
Initial Release
May 23, 2023
Last Updated
2 month(s) ago — 1.9.5



File Size

40.13 MB



This file has been scanned for viruses and is safe to download.

File Information

4.88/5.0 — Superb!
Not Downloaded yet
Today's Downloads
Video Preview

Based on 24 ratings
in love


  • Updated to version 1.9.5

  • Updated to version 1.9.4

  • Updated to version 1.9.3

  • Updated to version 1.9.2

  • Updated to version 1.9.1

  • Updated to version 1.9.0

  • Initial File Release


Upload Permission
You are not allowed to upload this file to other sites under any circumstances.

Modification Permission
You are allowed to modify or improve my file, but you must properly credit me and my original work.

Conversion Permission
You are not allowed to convert this file under any circumstances.

Asset Use Permission
You are not allowed to use assets of my file under any circumstances.

© CptLucky - All rights reserved. Any reupload or redistribution of this file without the author's prior written consent is forbidden. This X-Plane 12 add-on was created by CptLucky and shared in Utilities » Tweaks for X-Plane 12.



3 month(s) ago

This addon just blows my mind. Once you try this, you'll never be able to fly without it. Kudos to the author for such brilliant work!

Previously enjoyed the benefits of RXP, but now in XP12.1 b4 the lua is automatically quarantined. For info, thanks.

Has anyone got this script to work with XP12.1.0 (beta)?

This is one the very best addons for Xplane12 atm. Hoping to see an update for 12.1.0 soon!

No longer works for X-Plane 12.1.0-beta-1

We're waiting for a fix because it's a great solution 😊

please update for 12.1.0, thank you


This plugin is essential for X-Plane flight simulation! Can't live without it. Hence why im writing this. I know you haven't had time to update the plugin as X-Plane 12.1.0 only came out yesterday but please update it as it isn't working with my X-Plane. Many thanks for your service to the X-Plane community. We are truly in your debt!



26 day(s) ago / Thanked by CptLucky

How did I ever fly XP12 without this? Beautiful mod.. Excellent work!! Even though I already have this mod, the site refuses to allow me to rate it.. 10 STARS!!!!

i like this but there are some minecraft clouds i dont know if its x plane bug or rxp bug

Basically a good tool. Does anyone use XP Enhancer 1.9.3 with traffic global and / or XPlilot ? 

Since I have never had any problems so far, I suspect that XP enhancer 1.9.3 is somehow causing problems for me due to traffic. Doesn't sound logical, but I can't explain it any other way: I have only reinstalled xp enhancer in the last week. My FPS is always 50 (I have even limited it). I don't use addon sceneries, only Autoortho. The following problems are new for me. 

If I have activated global traffic with traffic or Xpilot, XP freezes 12 times, sometimes 20 seconds, sometimes 2 minutes, at the appproach, on the open "road". 

Then, I have deactivated global traffic in the plugins. No problems. Same situation , no traffic global, but with xpilot, again it freezes irregularly. This Maybe 2-3 times in 30 minutes. Traffic global activated, freezes again. I set the traffic to zero, no problems Does anyone know this or is there a solution. I actually only use XP 12 enhancer because of the darker cockpits and especially with ZIBO. Otherwise I used xvision. However, I have deactivated this at first to prevent conflicts here too. 



2 month(s) ago / Thanked by CptLucky

Congratulations for this great tool.

I would have a suggestion if I may :

I find anti aliasing parameter (MSAA+FXAA) very effective.

So, in a future version, could you provide this parameter in the rxp-xp12-enhancer.ini file so that one could initialize it to true once for all if desired please?



3 month(s) ago / Thanked by CptLucky

This is a wonderful script, many thanks! I have a question: Is there a way for reducing the glass reflection of the yellow lines of the tarmac with the script on? I can't paste here screenshots for showing what I mean. I'm using v1.9.3.



3 month(s) ago / Thanked by CptLucky




3 month(s) ago / Thanked by CptLucky

Version 1.9.3 is working without problems. Thanks

Whenever using the version 1.9.2 instead of 1.9.1 it doesn't work, stopping lua. The log file says:

*** Lua stack ***

Number of elements: 1

Element no. 1 is: ...sources/plugins/FlyWithLua/Scripts/rxp-xp12-enhancer.lua:625: Error loading file :C:\Simulation/X-Plane 12/Resources/plugins/FlyWithLua/Scripts/rxp-xp12-enhancer.ini


There is no such ini-file (as well as when using 1.9.1)



3 month(s) ago / Thanked by CptLucky

This addon just blows my mind. Once you try this, you'll never be able to fly without it. Kudos to the author for such brilliant work!

Hello, amazing script downloaded it from day one! The latest update seems to have a problem, whenever i load the sim i get a message that lua is not able to run it. I havent changed anything inside the script and i have downloaded it two times just in case. Can you please check it?


I get a very blueisch taint in the cockpit whe using RXP XP12 Enhancer, can this be corrected ?


404 File not found

404 File not found??



3 month(s) ago / Thanked by CptLucky

this is a perfect solution for XP12!! Amaazing!!

These items are currently on the list and will be processed soon!
Suggestion, bugs and ideas for the future.

  • Version 1.9.5 April 01, 2024

    - New: Celebrate the solar eclipse and experience the reduced luminosity while flying (see priv_override_eclipse_emulation)
    Start from KDFW or KSLK at 16h15z on April 8th and experience the effect!

  • Version 1.9.4 March 22, 2024

    - New: The FSR Sharpness and FXAA override settings are now persistent and saved in the .ini file.
    - Enhanced: Adjusted Global Illumination setting slightly.

  • Version 1.9.3 February 29, 2024

    - Fixed: The scripts fails to load when the companion file rxp-xp12-enhancer.ini is missing.
    - Enhanced: Corrected white balance adjustment.

  • Version 1.9.2 February 22, 2024

    - New: The settings persist between sessions (saved to companion file rxp-xp12-enhancer.ini).
    - New: Detailed information and explanations added to all of the settings tooltips.
    - Enhanced: few override values changes and adjustments.

  • Version 1.9.1 February 11, 2024

    - New: Added an option to configure the script whether using RXP or default 1000_lights_close.png (see: override_lights_sheet).
    - New: Added a splash reminder when the script is disabled.
    - Fixed: Compatibility when using other FWL scripts.
    - Fixed: Some datarefs where not properly overriden nor restored causing too bright/blue cockpits sometimes.

    NB: Make sure to also read the updated readme.txt for additional installation and configuration options.

  • Version 1.9.0 January 14, 2024

    - New: Compatible with XP12.09
    - New: Extend Cascaded Shadow Maps range with minimal fps loss, works best with XP12 Shadows HIGH or ULTRA (see: override_shadows).
    - Enhanced: 3D Rain drops and streaks on the windshield.

Frequently Asked

Questions? Find your solution here.

Pretty empty over here.


These users have donated to CptLucky to keep him making awesome add-ons everyone can enjoy.


These add-ons may be required or recommended to use.

Pretty empty over here.