Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)

Enlighten UE4 3.12 Documentation
Results will update as you type.
  • Welcome to Enlighten
  • How Enlighten works
  • Install and build
    • Rebuild Enlighten from source
  • Beginner tutorials
  • From static to dynamic lighting
  • How actors interact with Enlighten
  • Lightmap lighting
  • Probe lighting
  • Local reflections
  • Change the lighting resolution
  • World properties
  • Level properties
  • Precompute your level
  • Enlighten light properties
  • Light reflected from the sky
  • Material properties
  • Light volumetric fog
  • Turn off Enlighten updates in game
  • Mesh destruction
  • LOD for lighting
  • Real-world sun/sky intensity
  • Collaborate on a level
  • Reserved texture samplers
  • Visualizations and statistics
  • Debug with Enlighten tools
  • Convert to vanilla UE4
  • Troubleshooting and support
  • Third-party licences
  • Release notes
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
Rebuild Enlighten from source

    This is the documentation for Enlighten.

    Rebuild Enlighten from source

    Oct 26, 2021

    The Enlighten libraries and tools are provided in prebuilt form. You don't need to rebuild from source unless you modify the core Enlighten SDK code.

    After you modify Engine source code you can build the editor or game using UnrealBuildTool as usual.
    When upgrading to an unsupported platform SDK, you may also need to rebuild the Enlighten libraries against the new SDK. 
    In rare cases you might need to make changes to the Enlighten libraries.
    You can find the Enlighten library source code within the UE4 third party source folder:

    Engine/Source/ThirdParty/Enlighten


    Modify and rebuild Enlighten libraries

    To build and install the Enlighten libraries and tools required by UE4:

    1. In a command prompt window, execute:

      GenerateProjectFiles.bat
      cd Engine\Source\ThirdParty\Enlighten
      BuildAndInstallEnlighten.bat 

      This scripts returns an exit code of zero if the build succeeded. Otherwise, an error is printed in the console output. 

      When you run GenerateProjectFiles.bat, Engine\Source\ThirdParty\Enlighten\EnlightenBuildConfig.xml is generated for the installed platform SDK versions detected by UnrealBuildTool.

      If you build Enlighten UE4 with Visual Studio 2019, Enlighten libraries are compiled with the MSVC v14.28 toolset. Install the Visual Studio component which includes the MSVC 14.28 compiler.

      If you build Enlighten UE4 with Visual Studio 2017, Enlighten libraries are compiled with the MSVC v14.16 toolset. Install the Visual Studio component which includes the MSVC 14.16 compiler.

      To build Enlighten, you must install the June 2010 DirectX SDK

    2. Build the UE4 editor or game using UnrealBuildTool.

    By default, UnrealBuildTool doesn't detect changes to third party headers during an incremental build. To work around this, delete the Engine/Intermediate/Build folder to force a full UE4 build.

    If you make regular changes to Enlighten headers, to enable incremental builds, enable bCheckExternalHeadersForModification in your BuildConfiguration.xml.

    , multiple selections available,
    {"serverDuration": 17, "requestCorrelationId": "32639d3f2bf142c0a6ed3fbc9d6df5ca"}