📝 Plugin Description in C++
LuminSensePro: Dynamic Light Exposure & Sanity Drain is an advanced real-time lighting analysis system for Unreal Engine 5+, designed to dynamically measure player exposure to environmental lighting and directly influence gameplay variables—most notably, the player's sanity. Perfectly suited for horror, stealth, survival, or atmospheric games where lighting significantly impacts immersion and gameplay mechanics.Video
It´s easy - How to use is in LuminSense/ThirdPerson/Blueprints/BP_ThirdPersonCharacter | Comment Light Detection - How to use
✨ Key Features
🔍 Real-Time Player Light Detection
Calculates how much light is currently reaching the player, factoring in various types of lights (Point, Spot, Rect, Directional).
🧠 Sanity Drain Mechanics
Dynamically modifies sanity based on customizable lighting intensity thresholds and exposure levels.
🚧 Obstacle & Shadow Detection
Uses advanced line-tracing to accurately detect obstructions between player and lights, ensuring realistic shadow and obstruction handling.
🎚️ Customizable Thresholds & Drain Curves
Fully adjustable parameters allowing linear interpolation between different intensity thresholds.
🐞 Debugging and Visualization
Optional visual debugging tools (debug trace lines) for quick and easy setup and troubleshooting.
📦 Modular & Easy Integration
Clean, structured Blueprint Function Library, allowing straightforward integration into any project—Blueprint or C++.
🎮 Use Cases & Game Genres
Horror Games:Low light levels increase sanity drain, triggering hallucinations, whispers, or visual effects.
Stealth Games:Accurately measure visibility, allowing AI behavior to respond to player's visibility based on lighting.
Survival Mechanics:Staying too long in darkness could affect health, stamina, or sanity, enriching gameplay depth.
Dynamic AI Interaction:NPCs or enemies dynamically react to the player's visibility status, influenced by environmental lighting.
📁 Package Contents
Blueprint Function Library (MyLightingFunctionLibrary)
Pre-made function: GetLightIntensityAndSanityDrainAtLocation
Custom Structure (FLightIntensitySanityDrain)
Contains calculated LightIntensity (0-1) and corresponding SanityDrain.
⚙️ Technical Details
Compatibility: Unreal Engine 5.0+
Supported Platforms: Windows, macOS, Linux, Consoles
Lighting Systems: Fully compatible with Lumen and standard lighting pipelines
Development Platforms: Tested and optimized for Blueprint & C++ usage
Performance: Lightweight, optimized for real-time usage
📢 Why LuminSense?
✅ Easy to Use: Quickly implement into your game, no complex setups required.
✅ Immersion Boost: Elevates atmosphere by directly tying gameplay mechanics to realistic lighting.
✅ Customizable: Easily tweak parameters for perfect balance and gameplay feel.
✅ Reliable & Accurate: Ensures precise and realistic measurement of player visibility and lighting exposure.
🚀 Get Started Quickly
Bring immersive, dynamic, and impactful lighting interactions to your project today with LuminSense.
https://www.fab.com/listings/76acdab1-3527-44e0-ad1e-9a4953baa55d