LXR - Light Detection
https://www.fab.com/listings/5ac2e509-9918-4eeb-90f8-f257e5cd230f
The Ultimate Lighting Detection and Perception Plugin for Unreal Engine.
LXR is a plugin for measuring how much light an actor is receiving—but that’s only the starting point. While luminance detection is often the primary reason people use LXR, the plugin provides a broader set of light-awareness tools.
Direct Light Detection
Requires a Detection Component on the actor whose illumination you want to evaluate, and Source Components on actors that contain Light Components.
Indirect Light Detection
Requires only an LXRFluxComponent on the actor whose illumination you want to evaluate. No additional setup is needed.
The indirect lighting system of LXR is fully open source and available on my GitHub.
Advanced AI-related features
Sense Component
Allows AI actors to perceive and react to light sources in their environment by detecting light volumes.
This makes it possible for AI to react to a player’s flashlight beam even when the player is not directly visible—for example, in an L-shaped corridor where the light volume is visible but the player is not.
Silhouette Component
Enables detection of character silhouettes against bright backgrounds.
This allows AI to react to silhouettes, not just raw light values. A common stealth-game issue is that standing in darkness is treated as complete invisibility. In reality, if you stand in a dark corridor with a lit opening behind you, your silhouette would still be visible. This component enables AI to respond to that scenario.
Memory Component
Allows AI actors to remember light states even after leaving and returning to an area.
AI can react when the player turns lights on or off. This works either through the Detection Component (actor must be inside the light volume) or through the Sense Component, where the actor only needs to see the light volume to react to state changes.
LXR includes full EQS support.
Additionally, the QueryLXRAsyncTask can be used to query the light amount at any world location.
Technical details
Features:
Light detection
Smart
Fast
Easy
Lumen Support
Multithreaded
Code Modules:
LXR, LXREditor, LXRFlux
Number of Blueprints: 1 : Debug widget for Illuminance.
Number of C++ Classes: LXR : 55, LXREditor : 2
Supported Development Platforms: Windows
Supported Target Build Platforms: Windows
Documentation: https://docs.clusterfact.games/docs/LXR/



















